Adding a web site link function by clicking the CA Logo

book

Article ID: 75121

calendar_today

Updated On:

Products

SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS

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, ie in the location shown here in the red circle:

<Please see attached file for image>

User-added image

Environment

Release:
Component: USRD

Resolution

To do this: 

NX_ROOT = SDM install directory 

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

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

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

- 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="C A 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.

Attachments

1558702881915000075121_sktwi1f5rjvs16l48.png get_app