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…')
 
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
* Navigate to your Base Plus One
 
* Navigate to your Base Plus One
 
* 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
 
** Operator: Equals
 
** Operator: Equals
** Value: {request.subsite.id} - using the ColdFusion Expression option
+
** 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 ==
 
== Option 2: Add directly to Base Plus One Template ==
Line 16: 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
 
** Operator: Equals
 
** Operator: Equals
** Value: {request.subsite.id} - using the ColdFusion Expression option
+
** Value: {request.subsite.id} - using the ColdFusion Expression option (you can also check Force Cache)
 +
* Select the "Left Navigation" Render Handler
  
[[Category: Navigation]]
+
[[Category: OHSU Navigation]]

Latest revision as of 04:37, 20 April 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