Topic: Add new Tab

How can I add a new tab to the system?

2 (edited by ostertagi 11/26/2013 09:46:39 am)

Re: Add new Tab

you need to add a new module:
-define a new class that inherits from application in the applications folder.
- import that class in the frontaccounting.php and add a line :

        $this->applications = array();
//line to add under
        $this->add_application(new new_module_app());

this should do the trick, the position of your tab depends on which line you added your module.
you also need to redefine add_module(), add_lapp_function() and >add_rapp_function() in ordre to show blocks and links in your module.
define also the access levels for your pages in access_levels.inc (includes folder).

abdelghani

Re: Add new Tab

Thanks it works fine