We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9496
    • 113 Posts
    Is there any way to have a tv pull directly from the document tree?

    I have my site set up as 2 sections, "Directory" & "Events". I have a TV called "venue." Each event will have a venue. SO I thought it would be easiest for me to do the following...For the "venue" tv set up a list that allows me to select from the "Directory" children entry titles (for instance I might have "Madison Square Garden" or "Wembley Stadium" listed under the Directory in my manager tree.

    Then when I go to make an entry, those would show as a drop list in the tv variable, versus having to type in the venu name each time.

    I thought using an @binding to somehow manage this list dynamically. Or possibly an SQL query to return a delimited list of the titles to populate the tv?

    Making any sense?

    thanks-
    Patrick


    @select did the trick.
    @select pagetitle FROM modx_site_content WHERE parent=XX