Customizing the logo on the sign in screen

About this task

The Sign In screen displays a corporate logo, which you may want to customize.

To customize the logo on the Sign In screen:

Procedure

  1. Copy the INSTALL_DIR/repository/eardata/platform/war/console/logindetails.jsp file to INSTALL_DIR/extensions/global/webpages/console/logindetails.jsp file.

    If the /global/webpages/console/ directory structure does not exist, create the required directory structure.

  2. Open the new logindetails.jsp file and do the following:
    1. Search for YANTRA_LOGIN_RIGHT to find the <img> tag referring to the IBM® logo. Change the <img> tag to point to your corporate logo.
      For example, for MyLogo.jpg you would use:
      <TR>
                <TD align=center valign=bottom>
                  <img src="<%=request.getContextPath()%>/extn/console/icons/MyLogo.jpg"/>
                </TD>
               </TR>
    2. Search for YANTRA_ICON to find the <link> tag referring to the IBM icon. Change the <link> tag to point to your corporate icon.
      For example, for MyIcon.jpg you would use:
      <head>
                <link REL="SHORTCUT ICON"
                  HREF="<%=request.getContextPath()%>/extn/console/icons/MyIcon.jpg"/>
                <title><yfc:i18n>Yantra_7x</yfc:i18n></title>
               </head>
  3. Copy your image files to the INSTALL_DIR/extensions/global/webpages/console/icons/ directory.

    If the /global/webpages/console/icons/ directory structure does not exist, create the required directory structure.

  4. Rename INSTALL_DIR/repository/eardata/smcfsapplication_name/extn/web.xml.sample file to INSTALL_DIR/repository/eardata/smcfsapplication_name/extn/web.xml. Add the entry for both the image URIs that you specified in Step 2. For example, the web.xml entries are as follows:
    <context-param>
       <param-name>bypass.uri.extn1</param-name> 
       <param-value>/console/icons/MyLogo.jpg</param-value> 
    </context-param> 
    <context-param> 
       <param-name>bypass.uri.extn2</param-name> 
       <param-value>/console/icons/MyIcon.jpg</param-value> 
    </context-param>