Search »


The index.php file located in your module root ([form tools root]/modules/my_module/) is the first page the user is linked to after they select the module within the Form Tools interface. A bare-bones example can be lifted from the Hello World! module:

That imports the main Form Tools code, initializes the module page and displays the template page (index.tpl). All of your pages need to include the Form Tools core's global/library.php file and call the initModulePage() method to ensure everything is properly prepared to load your page.

Further information: