Wednesday, January 2, 2019

Manage Vtiger Menu


How Manage and customize Vtiger Menu





You need to modify the function getAppMenuList in the file modules/Vtiger/models/MenuStructure.php




'JS_YEARS' => 'anni',
'JS_TODAY' => 'oggi',
'JS_TOMORROW' => 'domani',
'JS_YESTERDAY' => 'ieri',
'JS_CREATE_TASK' => 'Creare Attività',

Add the new Item voice
public static function getAppMenuList(){
return array('MARKETING','SALES','INVENTORY','SUPPORT','PROJECT','YOUR_APP_MENU_NAME');
}



public static function getAppIcons() { $appImageIcons = array( 'MARKETING' => 'fa-users', 'SALES' => 'fa-dot-circle-o', 'SUPPORT' => 'fa-life-ring', 'INVENTORY' => 'vicon-inventory', 'PROJECT' => 'fa-briefcase', 'TOOLS' => 'fa-wrench' ,'YOUR_APP_MENU_NAME' => 'fa-life-ring' ); return $appImageIcons;
}





No comments:

Post a Comment

Manage Vtiger Menu

How Manage and customize Vtiger Menu You need to modify the function getAppMenuList in the f...