How do I display my company's banner text and logo image on web browser pages in place of the CA Service Desk banner text and logo?

Document ID : KB000009518
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

FOR UPDATED INFORMATION ON THIS FUNCTIONALITY (APPLICABLE TO SERVICE DESK 14.1 AND HIGHER) PLEASE REVIEW TECH DOC TEC1073551.

It is possible to change both the product banner and company logo that are displayed on the log-in page and other non-login pages of the CA Service Desk Manager web interface.

For r12.5 CA SDM, the out-of-the-box company banner text on all pages is displayed as: "CA Service Desk Manager"; for r12.1, it is displayed as: "CA Service Desk". When CMDB is installed, the banner text is appended with "/ CA CMDB".

To change the product banner text that is displayed on the login page, change the appropriate setting in NX.env file. For r12.1 with CMDB, to remove the remaining "/ CMDB" text, modify login.htmpl.

To change the banner text that is displayed on the rest of the pages, customize the file named ahdtop_site.htmpl.

To change the logo image on each page, create a .png file and update adhtop_site.htmpl. For r12.1, the logo files are named circleca.png and calogoHorizontal.png.

Important note: This solution has not been tested in a multi-tenancy environment.

Instructions:

Changing the Product Banner Text for the Login Page

To change the banner text that is displayed on the login page, follow these steps:

  1. Edit the $NX_ROOT/NX.env file.

  2. Locate the following statement: @NX_INSTALL_OPTION=CA Service Desk.

  3. Change the value, CA Service Desk, to a different text string.

    Figure 1 below is the screenshot produced when the value is set to: MyCompany Service Desk.

  4. For r12.1, if you have CMDB installed, "/CA CMDB" appears after your banner text and can be removed as follows:

    1. Copy the file, $NX_ROOT/bopcfg/www/htmpl/default/login.htmpl , to the $NX_ROOT/site/mods/www/htmpl/default/ directory. If there is a copy of this file already, it may be possible to use that.

    2. Locate the statement: <td nowrap class="login_product_name">${ProductName}/CA CMDB</td>

    3. Remove "/CA CMDB" from the statement and Save the file.

  5. Clear your browser cache.

  6. Recycle CA Service Desk Manager in order to see the effect of the changes from this section.

    Figure 1.

    Figure 1

Changing the Company Logo

To change the company logo on the login page and the rest of the pages, follow these steps:

  1. Create a .png file containing your logo image and copy it to the $NX_ROOT/site/mods/www/wwwroot/img directory.

  2. For 12.6 CA SDM CA SDM, to change the logon on both the login page and the non-login pages, rename your .png file to CAT_logo_53_trans.png. Alternatively, a site/mods-installed copy of login.htmpl can be modified to use a different file name. There is an associated URL for the .png so to change this, the site\mods-version of login.htmpl should be created and modified as follows: change http://ca.com to the URL that you require.

  3. For r12.5 CA SDM, customize ahdtop_site.htmpl as in the next set of instructions to refer to the named .png file.

  4. For r12.1, to change the logo on the login screen, copy the .png file to calogoHorizontal.png. Alternatively, a site/mods-installed copy of login.htmpl can be modified to use a different file name.

  5. For r12.1, to change the logo that appears in the upper left on non-login screens, the file must be named circleca.png. Alternatively, all htmpl files referencing circleca.png can be modified to use a different file name.

Figure 2 below is a sample login screen for which both the company banner and the company log have been changed.

Figure 2.

Figure 2

Changing the Company Banner Text for Non-login pages

To change the banner text that is displayed on the rest of the pages, follow these steps:

  1. Copy the file, $NX_ROOT/bopcfg/www/htmpl/default/ahdtop_site.htmpl , to the $NX_ROOT/site/mods/www/htmpl/default/ directory. If there is a copy of this file already, it may be possible to use that.

  2. Edit the file, $NX_ROOT/site/mods/www/htmpl/default/ahdtop_site.htmpl

  3. For r12.6 CA SDM CA SDM:

    1. Locate the statement: <script type="text/javascript">

    2. Insert the following statement after the line located in step 3a:

      usdImg["circleca"] = "$CAisd/img/YourCompany_logo.png";

  4. For r12.1 or r12.5 CA SDM:

    1. Locate the statement: <SCRIPT LANGUAGE="JavaScript">

    2. Insert the following statements after the line located in step 4a:

      var cfgProductName = "Your Company Service Desk";
      var cfgFormTitle = "Your Company Service Desk";
      usdImg["product_banner"] = "$CAisd/img/YourCompany_logo.png";

  5. Modify the statements in step 3b or 4b according to the actual value(s) that you require.

  6. Insert the following statements after the line located in step 3:

    var cfgProductName = "Your Company Service Desk";
    var cfgFormTitle = "Your Company Service Desk";
    usdImg["product_banner"] = "$CAisd/img/YourCompany_logo.png";

  7. Modify the statements according to the actual values that you require.

  8. Ensure that there is a line following these statements consisting of: </SCRIPT>

  9. Save the file.

  10. For r12.1:

    1. Copy the file, $NX_ROOT/bopcfg/www/htmpl/default/login.htmpl , to the $NX_ROOT/site/mods/www/htmpl/default/ directory. If there is a copy of this file already, it may be possible to use that.

    2. Locate the statement: <td nowrap class="login_product_name">${ProductName}/CA CMDB</td>

    3. Remove "/CA CMDB" from the statement

    4. Save the file.

  11. From a command line prompt, issue: pdm_webcache

  12. Clear the cache of the web browser.

A sample resulting screenshot is shown in Figure 3 below.

Figure 3.

Figure 3