random gallery image
random tutorial
preview

..or more modules you must have seen the iframes used for realtime result display. In this tutorial I'm going to show you how to insert them into your module and how they..

read more

random stress testing
HackSuite CMS Documentation
Configuration and native tools
This documentation will explain how the native tools work.

There are only two files/folders that are associated with native tools:
- Native: this is the folder where all the native tools are
- Data/nativeconfig.php: this file contains array $_CONTEXT['native'] that is used to create the configuration menu:



I won't discuss the native tools, will only explain how the configuration files work and how the array is used. The reason for that is that creating a native tool is the exact same as writing any other include file for the hacksuite.

In the array of Data/nativeconfig.php there are 4 different properties for each native tool(each line of properties equals a native tool):


$_CONTEXT['native'][0] = array("configuration editor","edit_config.php","edit_config","edit your configuration files and it's default values");


Above are the properties for native tool configuration editor.

properties for array $_CONTEXT['native'][0]:
[0]: name of the native tool
[1]: include file in Native folder associated with configuration editor
[2]: name of the image (used in the configuration menu above) in Templates/x/images (must be a PNG!), so in this case the image will be Templates/x/images/edit_config.png
[3]: description text (image hover text)

Note that all images are sorted on the array's index number.
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.