I took the code in the link and modified it changing che placeholder syntax and the parnt resource ID
@SELECT pagetitle, id FROM ( (SELECT pagetitle, id, menuindex FROM [[+PREFIX]]site_content WHERE parent = 3) UNION (SELECT ’@INHERIT’, ’@INHERIT’, 9999) ORDER BY menuindex) as sc
Then I created a new drop down list and put the code in the Input Option Value field
Unfortunately the result is just a blank drop down menu.
I also tried a simpler query: @SELECT pagetitle FROM [[+PREFIX]]site_content WHERE parent = 3
With no results.
Any suggestion?