Steven Heynderickx wrote on 10 Nov 2009 15:59
Originally suggested by James Kanjo on 26 October 2009.
One of the core information structures at Wikidot is the ability to grant each page a single parent.
A page can have many “children”, but each child has only one parent… it's a great way to assign a unique connection between two pages.
Though Wikidot has a parenthood framework, it lacks a way to organise and render pages by parenthood. The only thing that comes close to doing this is the PageTree module, and all that does is list pages by linked titles (in quite an attractive fashion, I must admit).
The PageTree module works in a chronological fashion: You select the root page, which lists its children, who in turn list their children, and they in turn list their children… and so on.
It is almost like looking into the future of a page (seeing their children and grandchildren).
When it comes to data organising, we can easily see into a page's future… but when it comes to a page's history — where it came from, what it's directly related to — we can only go as far as identifying the parent page's URL and title.
A module that will list each consecutive parent of a page, according to the user's customisation.
[[module Parenthood prependLine="Start of history!" appendLine="End of history" limit="5" perPage="3" separate="false"]]
This would list a page's parent according to the specified layout… then it would list that page's parent, which would list its parent page etc, etc. In the above example, we have posed a limit of 5 parents. We have also put a limit of displaying 3 parents per page.
Same as the ListPages module
This concept is only feasible in a backwards direction. It would be extremely difficult to produce this in a forwards direction (a list of children pages, and then their child pages — just as the PageTree module currently does).
Start a new sub-thread
We discourage direct comments on this thread: to discuss it, please start a sub-thread.
page revision: 3, last edited: 12 Nov 2009 12:26