Page Organization: Siblings
Is there a way to include a list of page siblings like there is to list the childeren?
To list a pages childeren, I put [[include:_ListNav]]
But once I'm on that page, I want to see it's siblings. Can't I do [[include:_ListSibs]] or something??
Posted at 4:34 AM on June 15, 2009
The way you'd do that is use _ListNav to list the children of the page's parent. In order to use it in an include tag, you'd have to hard-code the parent's page name. For example:
Posted at 5:41 AM on June 15, 2009
Is this automated? When I include:ListNav it's automatic to the childeren of whatever page I'm on. I'd like to put a code in the menu that includes the siblings of the page, each of which may have a different parent.
This is dynamic so it cannot be hard-coded. Is there a way to say
[[include:ListNav root=page.parent]] or something like that?
Posted at 6:01 AM on June 15, 2009
No, this isn't possible with the _ListNav include. Pages can have multiple parent pages, so it wouldn't necessarily be clear which siblings would be listed in that case. EditMe's API could be used to build this functionality with a scripted page. EditMe's professional services could help with such an implementation if it's a requirement for you.
Posted at 8:00 PM on June 15, 2009