Navigation Element Configuration

From ADF Docs
Jump to: navigation, search

Option 1: Add directly to Base Template

  • Edit your Base Template and add the following code into either your right or left column:
<cfmodule template="/commonspot/utilities/ct-render-named-element.cfm"
   elementName="subNav"
   elementType="custom:Nav Element">
  • Navigate to your Base Plus One
  • Modify the Nav Element by clicking on the Element Indicator and selecting Render Mode
  • Choose the option "Display existing element data (content reuse)"
  • In the "Filter" tab add the following filter
    • Field: SubsiteID
    • Operator: Equals
    • Value: {request.subsite.id} - using the ColdFusion Expression option (you can also check Force Cache)
  • Select the "Left Navigation" Render Handler

Option 2: Add directly to Base Plus One Template

  • Navigate to your Base Plus One
  • Add the Nav Element into the page using the Element Gallery
  • Modify the Nav Element by clicking on the Element Indicator and selecting Render Mode
  • Choose the option "Display existing element data (content reuse)"
  • In the "Filter" tab add the following filter
    • Field: SubsiteID
    • Operator: Equals
    • Value: {request.subsite.id} - using the ColdFusion Expression option (you can also check Force Cache)
  • Select the "Left Navigation" Render Handler