Edit the Navigation Configuration Component to configure where navigation text is derived from.
Procedure
- Access the Content Manager Explorer Web site.
- Expand the 100 Master Publication and navigate to the Folder Building Blocks/Settings/Core/Site Manager/.
- Open the Navigation Configuration Component.
- In the Metadata tab, specify the following properties:.
- Type of Navigation:
- Localizable—based on Component content/metadata field values (navigation text is derived from the Components on the Page rather than the Page, so you can localize the navigation without localizing the Pages).
- Simple—based on Page and Structure Group titles
- Page Template—used for External Links. Configure the Page Template used to identify a dummy page used to create external links in the navigation
- Navigation Text Field Paths— for Localizable navigation, you can configure the XML name of field(s) from where to read the navigation titles from Components on the Page. The field is a comma-separated list of paths to the (metadata) fields of the Components on the Page.
- Select Save and Close to commit your changes.
- Publish the changes:
- Expand the 400 Example site Publication.
- Navigate to the Home Structure Group.
- Republish the _Navigation Page.
Results
-
Navigation logic for Localizable
-
When Type of Navigation is set Localizable, the following logic is used to determine what text to show in a navigation element for a given page:
- Go through each Component on the Page.
- Look for content or metadata fields matching the XML field names configured in the Navigation Text Field Paths configuration setting (for embedded fields, use a forward slash, for example standardMeta/name).
- If there is no match, move to the next Component on the Page.
- If there no Components that match, use the Page Title (without numeric prefix)
-
Navigation logic for Simple
-
When Type of Navigation is set Simple, the navigation text comes from the Page title with any numeric prefix removed.
-
Navigation text for Web site sections
-
The navigation text used for Web site sections (Structure Groups) is always the title of the Structure Group with any numeric prefix removed