We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9550
    • 123 Posts
    Hey guys,

    is there any way to limit the depth of the child pages returned by the Resource List TV input type in Revo?

    basically, I have tree something like this:

    exhibitions
    - artist 1
    -work 1
    -work 2
    -work 3
    - artist 2
    -work 1
    -work 2
    -work 3

    and I’d only like to display the artists as available choices returned by the ResourceList Input Type.
      • 33968
      • 863 Posts
      I don’t know if there is a way to limit depth for the Resource List input type.

      But you can achieve it this way:

      Input Type: DropDown List Menu
      Input Option Values: @SELECT `pagetitle`,`id` FROM `[[+PREFIX]]site_content` WHERE `parent` = XX AND `published` = 1
      Default Value:
      Output Type: Default

      Replace ’XX’ with the exhibitions folder id and it will only show the immediate children.
        • 9550
        • 123 Posts
        lucas: Wow dude, that is darn tricky. It worked perfectly! Thank You. ! smiley
          • 33968
          • 863 Posts
          Great! grin