Abil
1
i create proarm/public/legacy/custom/application/Ext/Menus/menu.ext.php
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
global $mod_strings, $app_strings, $sugar_config;
$module_menu[] = array("index.php?module=Leads&action=CustomAction", 'Test', "Create", 'Leads');
for all modules, but in module menu dropdown missing label icon is showing but label not showing
why ??
I just tried at my end to add a menu on the Leads module. I followed the below steps.
- Create a label entry for the menu at :
{ROOT|\public\legacy\custom\Extension\modules\Leads\Ext\Language\en_us.lang.php
<?php
$mod_strings['LNK_TEST'] ='Test';
- Create a new menu file to add the entry at
{ROOT}\public\legacy\custom\Extension\modules\Leads\Ext\Menus\menu.ext.php
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
if(ACLController::checkAccess('Leads','edit',true)){
global $mod_strings;
$module_menu[]=array('index.php?module=Leads',$mod_strings['LNK_TEST'],'Create','Leads');
}
- Quick repair & rebuild
Reload the application
1 Like