Written by:David Aldridge5/12/2011 4:15 PM
Add the following line in modules/Module Name/Module Name.php file:var $importable = true; Create the file menu.ext.php in custom/modules/Module Name/Ext/Menus with following code:<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); if(ACLController::checkAccess('<Module Name>', 'import', true)) $module_menu[]=Array("index.php?module=Import&action=Step1&import_module=<Module Name>&return_module=<Module Name>&return_action=index", "Import","Import", '<Module Name>'); ?> This will add import menu item in the shortcut menu. You must replace Module Name with the actual module name.
var $importable = true;
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); if(ACLController::checkAccess('<Module Name>', 'import', true)) $module_menu[]=Array("index.php?module=Import&action=Step1&import_module=<Module Name>&return_module=<Module Name>&return_action=index", "Import","Import", '<Module Name>'); ?>
0 comment(s) so far...