Hi,
I am currently creating new modules in sugarCRM.
I hided the unwanted tabs through the Configure Tab.
But not able to remove the home tab.
Can anyone say how to remove the home tab and how can i use my custome module as home?
Thanks,
Rajesh
Hi,
I am currently creating new modules in sugarCRM.
I hided the unwanted tabs through the Configure Tab.
But not able to remove the home tab.
Can anyone say how to remove the home tab and how can i use my custome module as home?
Thanks,
Rajesh
Hi Rajesh
The solution is not upgrade safe.
You need to edit the file modules/Users/Authenticate.php
Modify the code
By that onePHP Code:$GLOBALS['module'] = !empty($_REQUEST['login_module']) ? '?module='.$_REQUEST['login_module'] : '?module=Home';
$GLOBALS['action'] = !empty($_REQUEST['login_action']) ? '&action='.$_REQUEST['login_action'] : '&action=index';
Remember to replace the "YourCustomModule" by the name of module you want to set to Home.PHP Code:$GLOBALS['module'] = !empty($_REQUEST['login_module']) ? '?module='.$_REQUEST['login_module'] : '?module=YourCustomModule';
$GLOBALS['action'] = !empty($_REQUEST['login_action']) ? '&action='.$_REQUEST['login_action'] : '&action=index';
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Hi Andopes,
The code you given is not worthy. why it's not working?
This is the code i added. But no change.
Still i cant hide the home module and i cant use my module as home.HTML Code:$GLOBALS['module'] = !empty($_REQUEST['login_module']) ? '?module='.$_REQUEST['login_module'] : '?module=Customers'; $GLOBALS['action'] = !empty($_REQUEST['login_action']) ? '&action='.$_REQUEST['login_action'] : '&action=index';
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks