It's really easy to create new modules since the development tools in 0.4, you no longer have to copy files from an existing module and make it work.
In order to create a new module, just click on
development in the menu bar and then
create new module as in the picture below:
This will load the screen where you can create a new module:
In this form you can setup your properties for the module. You'll need the following 4 fields:
-
name of module: use the name of your module (that's not used yet)
-
abbreviation: use a name for the module's root folder, which must have this pattern
thc_xx, the xx can be any two lowercase alphabetic characters that are not being used yet (eg thc_tt). Also the hacksuite will look for a png image with the abbreviation name (eg thc_tt.png) in the root folder. These images must be created with a photoshop action. I will put this action in the downloads section.
-
description: give a short description for the functionality of your module
-
version: typically starts with 0.0.1, however you can use any version you like as long as it's the proper pattern (x.x.x)
-
author: your name or alias you want to use
Once submitted you get this form:
Here you can setup your template for the module, make sure you buffer output into variable
$sCode.
A quick example:
<php
$sCode = "Hello world!";
?>
If it's still not clear, you'll be happy to know that I'll make a module tutorial as well. Stay tuned.