Difference between revisions of "Navigation Element Configuration"

From ADF Docs
Jump to: navigation, search
(Created page with '== 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/utiliti…')
 
Line 11: Line 11:
 
** Operator: Equals
 
** Operator: Equals
 
** Value: {request.subsite.id} - using the ColdFusion Expression option
 
** Value: {request.subsite.id} - using the ColdFusion Expression option
 +
* Select the "Left Navigation" Render Handler
  
 
== Option 2: Add directly to Base Plus One Template ==
 
== Option 2: Add directly to Base Plus One Template ==
Line 21: Line 22:
 
** Operator: Equals
 
** Operator: Equals
 
** Value: {request.subsite.id} - using the ColdFusion Expression option
 
** Value: {request.subsite.id} - using the ColdFusion Expression option
 +
* Select the "Left Navigation" Render Handler
  
 
[[Category: Navigation]]
 
[[Category: Navigation]]

Revision as of 05:23, 18 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 to display current element data
  • In the "Filter" tab add the following filter
    • Field: SubsiteID
    • Operator: Equals
    • Value: {request.subsite.id} - using the ColdFusion Expression option
  • 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 to display current element data
  • In the "Filter" tab add the following filter
    • Field: SubsiteID
    • Operator: Equals
    • Value: {request.subsite.id} - using the ColdFusion Expression option
  • Select the "Left Navigation" Render Handler