Feature #18489
closedrecursive pidInList for select in cObj CONTENT
0%
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
Updated by Peter Niederlag over 16 years ago
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
Updated by Georg Ringer over 16 years ago
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)
Updated by Christian Kuhn over 16 years ago
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