Add a level of navigation
We can increase levels of navigation by adding a fourth level of navigation.Change the yourTheme value to the actual name of the theme.
- Add a custom property in the WP DynamicContentSpotMappings resource environment provider:
- Name the custom property yourTheme_tertiaryNav.
- Enter the value res:/wps/defaultTheme80/themes/html/dynamicSpots/navigation.jsp?rootClass=yourThemeTertiaryNav&startLevel=3&levelsDisplayed=1.
- Modify the theme.html files for your theme and add a fourth, or tertiary, navigation dynamic content spot under the third, or secondary, navigation dynamic content spot, which is under the secondary banner block:
<a rel="dynamic-content" href="http://setgetweb.com/p/portal80/dyn-cs:id:yourTheme_tertiaryNav"></a>
- Define the yourThemeTertiaryNav style class in one of the CSS files for the theme that gets loaded by one of the modules for the theme.
- If we are in development mode, restart the web application for the theme. Otherwise, restart the portal server.
Parent: Customize navigation