Hello,
I am trying to hide the Home tab from some users (or all users). I have tried hiding the tab globaly and removing it from a user, neither of which works.
Any suggestions?
Regards,
Gerald S.
Hello,
I am trying to hide the Home tab from some users (or all users). I have tried hiding the tab globaly and removing it from a user, neither of which works.
Any suggestions?
Regards,
Gerald S.
SugarCRM 5.1.0c
Windows Server 2003 R2
XAMPP Installation
Apache / MySQL
Hello Gerald,
I believe this is because the Sugar config.php file has the 'default_module' directive set to 'Home.' Try editing your config.php file to change 'default_module' to some other module name, then remove the tab again.
How to change your config.php file in an upgrade safe manner: http://www.sugarcrm.com/wiki/index.p...g_override.php
Julian Ostrow
Systems and Applications Engineer
SugarCRM Inc.
Thank you Julian,
I made the following changes to config_override.php. However this does not let me remove the home page. Am I doing it correctly?
/***CONFIGURATOR***/$sugar_config['lock_homepage'] = false;
/***CONFIGURATOR***/$sugar_config['default_module'] = 'Documents';
Regards
Gerald
SugarCRM 5.1.0c
Windows Server 2003 R2
XAMPP Installation
Apache / MySQL
vi ./modules/MySettings/TabController.php
comment out
//$tabs['Home'] = 'Home';
inside if (!empty($trimmed_tabs)){} logic and you should be able to hide the Home tab
SugarCE 5.2.0f
./config.php:158:change default_module->Activities
./modules/Users/Authenticate.php:66:change Home->Activities
./modules/Users/SaveTimezone.php:51:change Home->Activities
./modules/MySettings/TabController.php:81:change Home->Activities
Then Configure Tabs to remove Home. This should prevent user from accessing Home page (unless the user explicitly types index.php?module=Home in the URL).
Tested on 5.2.0k and 5.5.0
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks