Hello,
I am new to suitecrm 7.11. My problem is to create a menu for a custom module. I want to put in the menu an import link and a few custom links. I tried with a solution that worked well for an old suitecrm instance. Unfortunately the solution did not work with 7.11.
I have read many posts on this topic but I didânt find any solution.
Any one help on this?
I created in the modules/ folder a file menu.php with the following contents:
global $mod_strings, $app_strings, $sugar_config;
if(ACLController::checkAccess(âAccountsâ, âeditâ, true))$module_menu[]=Array(âindex.php?module=Accounts&action=EditView&return_module=Accounts&return_action=indexâ, $mod_strings[âLNK_NEW_ACCOUNTâ],âCreateâ, âAccountsâ);
if(ACLController::checkAccess(âAccountsâ, âlistâ, true))$module_menu[]=Array(âindex.php?module=Accounts&action=index&return_module=Accounts&return_action=DetailViewâ, $mod_strings[âLNK_ACCOUNT_LISTâ],âListâ, âAccountsâ);
if(ACLController::checkAccess(âAccountsâ, âimportâ, true))$module_menu[]=Array(âindex.php?module=Import&action=Step1&import_module=Accounts&return_module=Accounts&return_action=indexâ, $mod_strings[âLNK_IMPORT_ACCOUNTSâ],âImportâ, âAccountsâ);
Thanks
Roberto