Menu dropdown missing label

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.

  1. 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';
  1. 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');
}
  1. Quick repair & rebuild
    Reload the application

image

1 Like