Preserving people awareness features in a customized portal
If the portal has customized themes and skins, additional Cascading Style Sheets can be accessed by your theme for proper operation of the People Finder portlet and Person tag.
For more information on customizing themes and skins, see Customize the portal.
To access the new CSS files, perform the following manual steps for each theme that supports an HTML markup:
- Determine the location where CSS files are linked into the <HEAD> section of the page. For most themes, this will be a version of Head.jsp.
The themes provided with WebSphere Portal have a version of this file located at: Windows:
PROFILE_HOME\installedApps\UNIX:hostname\wps.ear\wps.war\themes\html\Head.jsp
PROFILE_HOME/installedApps/i5/OS:hostname/wps.ear/wps.war/themes/html/Head.jsp
PortalServer_root_user/installedApps/hostname/wps.ear/wps.war/themes/html/Head.jsp
- Edit this file and search for content similar to the following content:
<link href='<wps:urlFindInTheme file="Styles.css"/>'rel="styleSheet" type="text/css"> <link href='<wps:urlFindInTheme file="HelpStyles.css"/>'
rel="styleSheet" type="text/css">
- After the content in step 2, add the following content and save your changes (type the content as a continuous line with no return character):
<link href='<wps:urlFindInTheme file="LWP_Styles.css"/>'rel="styleSheet" type="text/css">
- Touch the timestamp on the theme's Default.jsp file so it will be re-compiled by the JSP compiler. You can touch the timestamp by editing the file, adding a blank line, and saving it.
- Restart the portal server.
Parent topic:
People awareness using the Person tag
Related concepts
Customize the portal