Membership Membership:
Latest New User Latest: vpros
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 137

People Online People Online:
Visitors Visitors: 12
Members Members: 0
Total Total: 12

NakedMCSE Computer Tech Support Forums

So you have passed all of the exams and you are now out in the real world of windows servers, linux servers and freebsd servers faced with a tech support problem you have never seen before...

Find free online tech support in the forums below, respecting that advice is free, but work beyond advice is not...

The General forum is provided for off topic discussion.

You need a user account to post - please Register or Login.

Online Tech Support Forums
  Forum  Discussions  General  How to enable import in a SugarCRM module
Previous Previous
Next Next
New Post 5/12/2011 5:15 PM
119 posts
10th Level Poster

How to enable import in a SugarCRM module 

To enable import in a SugarCRM module that does not have it.

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:


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.



Previous Previous
Next Next
  Forum  Discussions  General  How to enable import in a SugarCRM module
Send me One Million FREE Guaranteed Visitors