Here, a few more details,
This is the code that I added to the file that is above mentioned, as a direct edit to Sugar's Global links
Code:
if(!isset($global_control_links)){
$global_control_links = array();
$sub_menu = array();
}
if(isset( $sugar_config['disc_client']) && $sugar_config['disc_client']){
require_once('modules/Sync/headermenu.php');
}
$global_control_links['myaccount'] = array(
'linkinfo' => array($app_strings['LBL_MY_ACCOUNT'] => 'index.php?module=Users&action=DetailView&record='.$current_user->id.''),
'submenu' => ''
);
$global_control_links['employees'] = array(
'linkinfo' => array($app_strings['LBL_EMPLOYEES']=> 'index.php?module=Employees&action=index'),
'submenu' => ''
);
if (
is_admin($current_user)
) $global_control_links['admin'] = array(
'linkinfo' => array($app_strings['LBL_ADMIN'] => 'index.php?module=Administration&action=index'),
'submenu' => ''
);
$global_control_links['training'] = array(
'linkinfo' => array($app_strings['LBL_TRAINING'] => 'index.php?module=Home&action=TrainingPortal'),
'submenu' => ''
);
$global_control_links['users'] = array(
'linkinfo' => array($app_strings['LBL_LOGOUT'] => 'index.php?module=Users&action=Logout'),
'submenu' => ''
);
$global_control_links['about'] = array('linkinfo' => array($app_strings['LNK_ABOUT'] => 'index.php?module=Home&action=About'),
'submenu' => ''
);
$global_control_links['monthlymaintenance'] = array(
'linkinfo' => array($app_strings['LBL_MONTHLY_MAINTENANCE'] => 'http://spreadsheets1.google.com/ccc?key=tdbEvuB1eC3f08XPbToZiww&hl=en#gid=0'),
'submenu' => ''
);
?> The last link is the one that I added, and when I upload the file, I get a new break in the Global links, where it now reads
Welcome, Lane [ Logout ] My Account|Employees|Admin|Training|About|
With the new | at the end, but there is no link there. Does anyone know where I'm going wrong? Without previously doing this, I mimicked one of the default global links, and input my own info, so I'd like to know where I'm messing this up.
Thanks for the help
Bookmarks