Feature #18489
closed
recursive pidInList for select in cObj CONTENT
Added by Georg Ringer over 16 years ago.
Updated over 14 years ago.
Description
Until now it is not possible to have a recursive function for the pidInlist which is often quite helpful to find records in a whole page tree.
(issue imported from #M7921)
Files
Of course this would be a nice improvement for 4.x
but just as a note, since pidInList has .stdWrap properties of course you can build a recursive puidInList yourself by some TypoScript (and don't need a userFunc!).
I admit it is not an easy solution but works, sry don't have any example at hand right now.
Greets,
Peter
Hi Peter! Yeah of course you could to it with some TS, probably via a cObj CONTENT or whatever but the userfunc would still be the shorter and easier solution. of course the ts setting recursive =2 would be just the best. It will go into 4.3 as some other things I got in my mind ;) (hopefully)
Attached a new patch with minor modifications:
- Fixed a parse error due to a missing closing braket
- Fixed minor CGL whitespace issues
- Added an isset to the if statement
Also available in: Atom
PDF