random gallery image
random tutorial
preview

..to create a different index page for the suite. It's very easy because the only thing you need to do is change the content of default.php. I don't want to create something like hello..

read more

random stress testing
HackSuite CMS Documentation
Process of creating a module
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.
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 3836
native: 26
modules: 21
apps: 2
support development
It takes lots of calories in order to create new things for the hacksuite, so it would be grand if you could buy me a protein shake or extra energy to keep me going. Thanks!
disclaimer
We are not responsible for any direct or indirect damage caused by abusing the tools provided on hacksuite.com. The suite is developed for educational purposes, use at your own risk!
Created by Remco Kouw. Powered by protein shakes and a high calorie diet.