Posted by gerdami on 25 Aug 2009 07:54, last edited by James Kanjo on 09 May 2010 05:31
Introduction
The parent-child relationship helps creating structured websites, sitemaps and breadcrumbs navigation.
The old way
At the bottom of a page, click on + options, parent and choose the parent page
The new way
default category
Create or edit the _template and add the following
%%content%%
[[module NewPage button="Add a child page" parent="%%full_page_name%%"]]
other categories
Create or edit the cat1:_template and add the following
%%content%%
[[module NewPage button="Add a child page" parent="%%full_page_name%%" category="%%category%%"]]
_start page
Remember that pages whose name starts with an underscore (like "_start", "_header", etc.) are not affected by the _template. Hence you would have to add the module NewPage on that page as well.
Another solution would be to use a start page that does not starts with an underscore and add a hidden tag _system to prevent the start page from being listed by ListPages.
Author
gerdami. Please visit his/her userPage.
Other(!) HowTos posted by gerdami
- Add a QR code to your page
- Apply a Wikipedia-like "article - discussion" tabs to existing pages
- Replace bullets of a list by pdf icons
- Import Simple Excel Tables Into Wikidot
- Create an Automatic Navigation without parent-childs
- A Wikidot Page Explained
- Apply your first live _template to your pages
- Change Tagcloud Colors
- Add a Custom Google Search Engine
- Chart with ListPages
- Hide forum signatures
- Autonumber headings and paragraphs
- Create a Blog based on category blog:
- Autonumber headings and ordered lists
- Track Site And Forum Changes In One Page
- Play Music
- Subscribe To Community Sites And Forum Changes Via Feedblitz
- Include Variables with Special Characters
- Go Mobile
- Redirect a complete category
- Google Maps - different methods





