May12

Written by:David Aldridge
5/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.

 

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment  Cancel 
You must be logged in and have permission to create or edit a blog.