I have just updated to SugarCRM 6.2.1 and would like to modify a link in the header. Specifically, I would like to change the hyperlinked username following the 'Welcome' text to take a user to their Employee module record instead of their Users module record.
In SugarCRM 5.5.2 I accomplished this task through the following steps:
Step 1: Navigate to /include/ and open globalControlLinks.php
Step 2: Locate the following block of code
$global_control_links['myaccount'] = array(
‘linkinfo’ => array($app_strings['LBL_MY_ACCOUNT'] => ‘index.php?
module=Users&action=DetailView&record=’.$current_u ser->id.”),
‘submenu’ => ”
);
Step 3: Replace it with the following block of code
$global_control_links['myaccount'] = array(
‘linkinfo’ => array($app_strings['LBL_MY_ACCOUNT'] => ‘index.php?
action=DetailView&module=Employees&record=’.$curre nt_user->id.”),
‘submenu’ => ”
);
This same technique doesn't seem to work in 6.2.1.
I have looked at the welcome.tpl file in \themes\default\tpls but wasn't able to locate where I could change the hyperlink.
Any help would be greatly appreciated!


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks