Rename Theme Templates
We can rename the default filename of the theme template from theme.html. In the ready-to-use theme renaming the theme.html file is used to provide a different theme view for the administrative pages. This change can be done selectively for individual pages by setting a page metadata called...
com.ibm.portal.theme.template.file.name.html
This setting is not inherited along the navigation hierarchy.
We can set the theme template using the Edit Page Properties dialog or the Manage Pages portlet in the Administrative section of the portal.
- Set the theme template through the Edit Page Properties dialog from the Overview tab.
- Go to the page where to set the new metadata.
- Click Edit Mode.
- In the Overview section, hover over the name of the page and click Edit.
- Click the Advanced tab and enter the following information in the Metadata section:
- Key
- com.ibm.portal.theme.template.file.name.html.
- Value
- Enter the HTML file name that corresponds to the theme template we are trying to set.
- Click Add to set the new metadata for the page.
- Click Save.
- Set the theme template from the managed pages administrative portlet.
- In the IBM WebSphere Portal administrative section, click the Manage Pages tab and go to the page where to set the metadata.
- Select the Edit Page Properties option for the page to edit.
- In Advanced options, select I want to set parameters and enter the following information:
- New parameter
- com.ibm.portal.theme.template.file.name.html.
- New value
- Enter the HTML file name that corresponds to the theme template we are trying to set.
- Click Add to set the new metadata for the page.
- Click Save.
Parent Theme templates (theme.html)