Project

General

Profile

Actions

Feature #18489

closed

recursive pidInList for select in cObj CONTENT

Added by Georg Ringer over 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-03-21
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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

patch-recursive content.patch (750 Bytes) patch-recursive content.patch Administrator Admin, 2008-03-21 16:56
patch-recursive-content2.patch (787 Bytes) patch-recursive-content2.patch Administrator Admin, 2008-08-15 02:05
Actions #1

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

Actions #2

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)

Actions #3

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

Actions

Also available in: Atom PDF