Customizing the logo on the sign in screen
The Sign In screen displays a corporate logo, which you may want to customize.
About this task
To customize the logo on the Sign In screen:
Procedure
- 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.
- Open the new logindetails.jsp file and do the following:
- 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> - 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>
- 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.
- 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.
-
Rename INSTALL_DIR/repository/eardata/smcfs/extn/web.xml.sample file to
INSTALL_DIR/repository/eardata/smcfs/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>/extn/console/icons/MyLogo.jpg</param-value> </context-param> <context-param> <param-name>bypass.uri.extn2</param-name> <param-value>/extn/console/icons/MyIcon.jpg</param-value> </context-param>