Set side navigation for a page
We can set the side navigation template for a specific page.
- Log on to the portal.
- Export the page where to apply the side navigation template.
We can export the page using XMLAccess or using the Manage Pages portlet.
- Add the page metadata key com.ibm.portal.theme.template.file.name.html with a value <![CDATA[theme_sidenav.html]]> to the exported XML file.
For example:
<content-node action="update" content-parentref="wp.example.parent" active="true" objectid="wp.example.id" uniquename="wp.example"> ... <parameter name="com.ibm.portal.theme.template.file.name.html" type="string" update="set"><![CDATA[theme_sidenav.html]]></parameter> ... </content-node>
- Save the new page XML file.
- Import the XML file using the command line or the Import XML portlet.
- We can now navigate to the page and it is now rendered as a side navigation.
Parent: Side navigation