+

Search Tips   |   Advanced Search

Create a dynamic content spot for navigation


Create a dynamic content spot mapping to customize the theme for Top, Primary, and Secondary navigation. Change the yourTheme value to the name of the theme.

  1. Optional: For primary navigation add a custom property in the WP DynamicContentSpotMappings resource environment provider:

    1. Name the custom property yourTheme_primaryNav, assuming we are changing the primary level.

    2. Enter the value res:/wps/defaultTheme80/themes/html/dynamicSpots/navigation.jsp?rootClass=yourThemePrimaryNav&startLevel=1&levelsDisplayed=1&primeRoot=true..

  2. Modify the theme.html files for your theme and change the dynamic content spot id for the primary navigation from 80theme_primaryNav to yourTheme_primaryNav.

  3. Define the yourThemePrimaryNav style class in one of the .css files for your theme that gets loaded by one of the modules for the theme.

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


Parent: Customize navigation