+

Search Tips   |   Advanced Search

Work with dynamic content spots


We can add dynamic content to the custom theme using either client-side or server-side logic.

There are cases where it is better to reference dynamic content by a logical name.

Examples:


Configure and modify named dynamic content spots

The dynamic content spot mappings are defined for the theme and skin templates in a Resource Environment Provider (REP) named WP DynamicContentSpotMappings in the WAS admin console.

Name of the content spot Value Description
80theme_asa res:/wps/themeModules/asa/jsp/asa.jsp, wp_analytics Site analytics extension
80theme_head res:/wps/defaultTheme80/themes/html/dynamicSpots/head.jsp HTML head element that provides the document title, styles, bookmark icon, etc.
n/a co:head Invokes the combiner datasource which injects the head markup identified in the module profile.
80theme_pageModeToggle res:/wps/defaultTheme80/themes/html/dynamicSpots/pageModeToggle.jsp, wp_toolbar Edit Mode and View mode buttons in the theme banner seen when the project menu is off.
80theme_topNav res:/ps/defaultTheme80/themes/html/dynamicSpots/navigation.jsp?level=0&rootClass=wpthemeHeaderNav&primeRoot=true Navigation located in the theme header, 1st level of navigation
80theme_primaryNav res:/wps/defaultTheme80/themes/html/defaulttheme80/navigation.jsp??level=1&rootClass=wpthemePrimaryNav%20wpthemeLeft Navigation located in the banner, 2nd level of navigation
80theme_secondaryNav res:/wps/defaultTheme80/themes/html/dynamicSpots/navigation.jsp??level=2&rootClass=wpthemeSecondaryNav&levelsDisplayed=2 Navigation located in the sub-banner, 3rd level of navigation
80theme_commonActions res:/wps/defaultTheme80/themes/html/dynamicSpots/commonActions.jsp Common actions located on the banner, i.e. Actions, Login, Logout
80theme_crumbTrail res:/wps/defaultTheme80/themes/html/defaultTheme80/crumbTrail.jsp?level=2&rootClass=wpthemeCrumbTrail Navigation breadcrumb trail to display the page selection path
80theme_search res:/wps/themeModules/themes/html/dynamicSpots/modules/search/search.jsp Search input displayed on the sub-banner
80theme_layout lm:template Layout of the page
80theme_80theme_footer res:/wps/defaultTheme80/themes/html/dynamicSpots/footer.jsp Footer of the page
n/a co:config Invokes the combiner datasource which injects the config markup identified in the module profile
80theme_sideNav res:/wps/defaultTheme80/themes/html/dynamicSpots/sideNavigation.jsp&startLevel=2 Nested side navigation started at the third level
80theme_preview res:/wps/themeModules/modules/pagebuilder/jsp/preview.jsp,wp_preview End Preview button located at the top of the page when previewing as a different user
80theme_projectMenu res:/wps/themeModules/modules/pagebuilder/jsp/projectMenu.jsp,wp_project_menu The project dropdown menu located in the theme header
80theme_toolbar res:/wps/themeModules/modules/pagebuilder/jsp/toolbar.jsp,wp_toolbar The tabbed toolbar located at the top of the page while in edit mode
80theme_status res:/wps/defaultTheme80/themes/html/dynamicSpots/status.jsp,wp_status_bar Area located above the page layout which displays status, warning and error messages to the user

Content spot value Description
lm:control Renders the layout control body.
lm:title Renders the title of the portlet.
lm:description Renders the description of the portlet.
portlet.link:portlet Outputs the markup <span id="portlet_id"></span> to allow page to position itself at a particular portlet markup via a fragment identifier.
80theme_asaPortlet res:/wps/themeModules/modules/asa/jsp/asaPortlet.jsp, wp_analytics Site analytics extension for portlets
We can modify this configuration using the WAS admin console. When you work with this configuration, observe the following hints and tips:


Parent: Dynamic content spots