In the Business Manager you can create a custom field to use as a label for navigation sections generated in your Web pages.
Procedure
- Open the Business Manager.
- Go to page.
- In the Custom fields as facet identifiers section, enter a value in Custom field 1.
- Click Add to add additional fields.
- Click Apply to save changes.
- Navigate to .
- Select a facet and note that your custom field appears.
- To output the values of these fields in your published Web page, you need to edit your Dreamweaver Template as follows:
-
JSP example
-
<tcdl:navigationSectionHeader>
<c:out value="${section.customFieldValues['MyNavigationLabel']}"/>
</tcdl:navigationSectionHeader>
-
ASPX example
-
<tcdl:navigationSectionHeader>
<asp:Label runat="server" Text="<%# ((NavigationSection)Container.Parent).GetCustomFieldValue("MyNavigationLabel") %>" />
</tcdl:navigationSectionHeader>
-
REL example
-
<tcdl:navigationSectionHeader>
#{section.customFieldValues['MyNavigationLabel']}
</tcdl:navigationSectionHeader>