+

Search Tips   |   Advanced Search

Add a level of navigation

We can increase levels of navigation by adding a fourth level of navigation.

  1. Edit

      WP_PROFILE/installedApps/cell/MyTheme.ear/MyTheme.war/WEB-INF/plugin.xml

    ...and add a subcontribution to the wp_dynamicContentSpots_85 module.

    Give the subcontribution a ref-id of...

      myTheme_tertiaryNav

    ...and enter URI value. For example...

    <sub-contribution type="markup" ref->
        <uri value="mvc:res:{war:context-root}/themes/html/dynamicSpots/navigation.jsp?rootClass=wpthemeTertiaryNav&startLevel=3&levelsDisplayed=1,smartphone@,tablet@"/>
    </sub-contribution>

  2. 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 that is block:

      <a rel="dynamic-content" href="dyn-cs:id:myTheme_tertiaryNav"></a>

  3. Define the myThemeTertiaryNav style class in one of the CSS files for the theme that gets loaded by one of the modules for the theme.

  4. If we are in development mode, restart the web application for the theme. Otherwise, restart the portal server.


Parent Customize navigation