List descendants
nav_first.pngFirst: thread:380
Order by Wilson Score Confidence Intervals
Edited: 07 Jan 2016 21:00 by: AJMansfield
Comments: 0
nav_prev.pngPrevious: thread:338
Variable %%children_created_by%%
Edited: 23 Mar 2010 13:41 by: leiger
Comments: 0
Last: thread:144
Output separator text
Edited: 12 Nov 2009 12:57 by: pieterh
Comments: 0
Next: thread:313
order="children desc"
Edited: 02 Mar 2010 08:24 by: leiger
Comments: 0

gerdamigerdami wrote on 05 Mar 2010 11:20

It would be great if ListPages could list not only the direct children but also all descendants.

Example: a generated vineyard by pagepath gives from category vineyard:

France > Bordeaux
France > Bordeaux > Medoc > Pauillac
France > Bordeaux > Medoc > Margaux

where Medoc is a child of Bordeaux and Pauillac is a child of Medoc

Ch. Latour is Pauillac then is a child of Pauillac but a grandchild of Bordeaux, of category wine: (, or tagged with _wine)
Ch. Petit Bordeaux is a basic wine of Bordeaux, of category wine: (, or tagged with _wine)

If I currently ListPages all wines whose parent is Bordeaux, it will not retrieve Ch. Latour whose parent is Pauillac.
Indeed, I would like to ListPages ALL wines which have Bordeaux as parent or grandparent or gran(n)parent.

Understood Leiger ? ;-)

Start a new sub-thread

Comments: 3

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License