You can change the default favicon.ico of your website by putting the favicon.ico in root directory. Browsers will automatically pick up the icon show in the page tab. But, this will not work for the webshpere portal. You will need to change the favicon in the theme itself. It is pretty simple when you know how to do.
Here are the steps:
1. Copy your favicon.ico to " C:\IBM\WebSphere\wp_profile\installedApps\ibmqw\wps.ear\wps.war\themes\html\YourThemeName\icons"
2. Go to "C:\IBM\WebSphere\wp_profile\installedApps\ibmqw\wps.ear\wps.war\themes\html\YourThemeName"
3. Open the head.jspf with notepad
4. Add the following line in <head> session.
<link href='<portal-logic:urlFindInTheme file="icons/favicon.ico"/>' rel="shortcut icon">
5. Save the head.jspf and also edit and save the default.jsp to clear the cache.
6. Open the Your websphere portal in the brower and you will see the favicon in the page tab.
Happy Programming :)
No comments:
Post a Comment