Adding a web site link function by clicking the CA Logo
search cancel

Adding a web site link function by clicking the CA Logo

book

Article ID: 75121

calendar_today

Updated On:

Products

CA Service Desk Manager CA Service Management - Service Desk Manager

Issue/Introduction

When logging into Service Desk, there may be a need for the logo in the upper left to allow for an activation of a web link when the logo is accessed (i.e. in the location shown in the red circle)

Environment

CA Service Desk Manager - All Versions

All Supported Operating Systems

Resolution

1.  Copy the std_head.js file from NX_ROOT\bopcfg\www\wwwroot\scripts over to NX_ROOT\site\mods\www\wwwroot\scripts 

2.  Edit the std_head.js file in NX_ROOT\site\mods\www\wwwroot\scripts and locate this block of code (search for "circleca" in the file): 

lpn_html += '<td class="CA_logo"><img id="logoImg" src="' + 
ahdtop.usdImg["circleca"] + '" class="logo_img" alt="CA Technologies"></td>'; 

3.  Change the code so that it reads as 

lpn_html += '<td class="CA_logo"><A HREF="http://www.website.com" target="_blank"><img id="logoImg" src="' + 
ahdtop.usdImg["circleca"] + '" class="logo_img" alt="CA Technologies"></A></td>'; 

It is important to note the placement of the "<A>" and "</A>" anchor tags in the above code (in bold). Further, the specification of a "target" frame/window is advised as omitting this parameter from the "<A>" tag will result in the web page opening within the confines of the top banner frame of the SDM web page.

Note: please notice that customization of js files may not be supported.