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.
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.