Hi all,
I have discovered a strange and for me unexpected interaction between the Configure Tabs and the operation of the User Module and Contacts module. Apparently you can hide the Contacts Tab if you do not need it (as in the case of my application). However if you do this, then you loose the import link and functionality in the User module. In fact if you inspect the Menu.php of the User module you see that the import functionality is linked to the Contacts module:
$module_menu=Array();
if(is_admin($current_user))
{
$module_menu = Array(
Array("index.php?module=Users&action=EditView&retu rn_module=Users&return_action=DetailView", $mod_strings['LNK_NEW_USER'],"CreateUsers"),
Array("index.php?module=Users&action=ListView&retu rn_module=Users&return_action=DetailView", $mod_strings['LNK_USER_LIST'],"Users"),
Array("index.php?module=Import&action=Step1&import _module=Users&return_module=Users&return_action=in dex", $app_strings['LBL_IMPORT'],"Import", 'Contacts'),
);
}
I tried to show again the Contacts tab and in fact the import link in the User's module appeared again.
I have a limited knowledge of SugarCRM however I got the impression that the Configure Tabs command should only affect the User Interface and not the functionality of the modules.
Am I wrong?


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks