Quote from: Photowebmax at Feb 09, 2010, 07:17 PM
Hi guys...
Interesting thread. I am trying to follow this carefully but without seeing the actual site, the templates, TV’s and the working snippet calls its hard to visualize.
Any chance you could post these details? How about the site? I have never seen this snippet used before...
I wanted to display a "Featured Home" on my home page so I wanted to have a dropdown where that could be picked by the user out of all the available properties. the page where it shows all the properties before going into detail about the property is ID 4. After setting Quill up you set up the TV
Template Variable Name: featuredHome
Caption: Which Home to Feature?
Description:
Input Type: DropDown List Menu
Input Options Variable: @EVAL return $modx->runSnippet(’Quill’, array("parent"=>"4")); <-- 4 is the Parent page to the properties.
Template Access: Home (where I want to display the featured home.)
Home Page Template Ditto Call:
[!Ditto? &documents=`[*featuredHome*]` &tpl=`featuredProperty` &noResults=`No Featured Home Selected.` !]