1

(12 replies, posted in Setup)

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”.

Good day.

I am working with FA for last 3 years plus. I am quite interested to work for your project. I am capable to deliver project on time with quality. For further inquiry, kindly don't hesitate to contact or mail me.

--- Ziner
+60-193095147
ziner80@yahoo.com / ziner80@gmail.com
ziner_netsphere (Mahadi Hassan Ziner) --- skype

Good day.

I am working with FA for last 3 years plus. I am quite interested to work for your project. I am capable to deliver project on time with quality. For further inquiry, kindly don't hesitate to contact or mail me.

--- Ziner
+60-193095147
ziner80@yahoo.com / ziner80@gmail.com
ziner_netsphere (Mahadi Hassan Ziner) --- skype