32 - Parenthood Module
nav_first.pngFirst: design:1
1 - Rate Module
Edited: 29 Apr 2012 00:01 by: GoVegan
Comments: 21
nav_prev.pngPrevious: design:31
31 - Permissions Module
Edited: 11 Nov 2009 21:46 by: Steven Heynderickx
Comments: 5

32 - Parenthood Module
Created on 26 Oct 2009 13:54
By James Kanjo

rating: +1+x
This is the Redirect module that redirects the browser directly to the "http://projects.wikidot.com/thread:139" page.


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"]]
+ %%title_linked%%


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).

Comments: 7

Add a New Comment