Difference between revisions of "Navigation Element Configuration"

From ADF Docs
Jump to: navigation, search
Line 17: Line 17:
 
* Add the Nav Element into the page using the Element Gallery
 
* 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
 
* Modify the Nav Element by clicking on the Element Indicator and selecting Render Mode
* Choose the option to display current element data
+
* Choose the option "Display existing element data (content reuse)"
 
* In the "Filter" tab add the following filter
 
* In the "Filter" tab add the following filter
 
** Field: SubsiteID
 
** Field: SubsiteID

Revision as of 21:02, 19 February 2010

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