Topic: Add new Tab
How can I add a new tab to the system?
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → FA Modifications → Add new Tab
How can I add a new tab to the system?
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).
Thanks it works fine
FrontAccounting forum → FA Modifications → Add new Tab
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.