The Following steps help you to create a new menu item. Goto frontaccounting main directory(Root Directory). Open you frontaccounting.php . It is giving access to every class. So just find the line
include_once($path_to_root . '/applications/customers.php');
and after the line add your menu item.
Here I am adding a menu item of HRM.
include_once($path_to_root . '/applications/hrm.php');
and create a object for hrm class.
Find the following line
$this->add_application(new customers_app());
and add the following line of code after the line above.
$this->add_application(new hrm_app());
Note: If you change the order that will reflect on your menu order. So place your inclusion function based on your needs.
Then open your applications directory , and create a new php file namely “hrm.php”. And add your hrm class . Just copy any of the class file and make some changes based on your needs.
<?php
class hrm_app extends application
{
function hrm_app()
{
$this->application("hrm", _($this->help_context = "&HRM and Payroll"));
// Here you can add your custom functions and files here.
}
} ?>
Finally login your frontaccounting, to see your new menu item “HRM”.