Structures are used to group an arbitrary set of wiki pages into a navigable tree . They are very useful for grouping Wiki pages into documentation, manuals, FAQs, HowTos, etc.
Table of contents
1. Navigating Structures
1.1. Browsing
When browsing through the Wiki:
- If a page is part of one or more structures, a dedicated icon will appear at the top of the page (
). Select the structure name from this list to activate it.
the dedicated icon doesn’t appears and a structure is automatically activated in the following cases :- the wiki page is the structure’s root Wiki page
- the wiki page is part of only one structure
Once a stucture is active, pages belonging to the structure are displayed with a navigation bar :
The navigation bar provides icons to the next (
), parent (
), previous (
) and homepage (
) structure pages.
If you are allowed to edit the page, a structure icon (
) will appear to let you modify the structure (see below ↓Managing an existing structure).
1.2. Table of contents tag ({toc})
Using a {toc} tag in a page belonging to a structure will display a Table Of Contents for any sub-pages the page has. For this to work, the page must have sub-pages. See Plugin Toc for full documentation of this plugin.
1.3. Print whole Structures at once
You can print a whole structure at once into a single html containing all pages with their corresponding images, etc., through the Wiki > Multiple print feature.
And you can optionally produce an odt file out of that, that you can use to create a PDF
easily with OpenOffice.org
See an example explained for the whole tiki-wiki documentation there in doc.tiki.org :
Printing the Documentation
2. Managing an existing structure
Users with the right permission on a structure can modify it.
Modifications can be done via tiki-admin_structures.php (available from the menu Wiki > Structures) or while navigating the wiki.
2.1. Adding a new page
Select the structure you wish to edit in tiki-admin_structures.php
It is possible to simply drag an existing page from the page list and drop it where you want in the tree :
Or you can use the “Add a new child page” button (
) to add a new page wich will be created with a {toc} tag inside.
Alternatively, you can add a new page while browsing the wiki, as a sister or child page to the page you are viewing.
This second process is often easier to work with in the case of a very long structure.
For example you can add a page in the Documentation structure here with just just 3 clicks :
- First click: Click on the Documentation menu on the main menu bar
- Second click: In the TOC, click on the page name prior to where you want to create your page. “Wiki Help” (for example).
- Third click : write the (new) page name in the structure navigation bar of that page, and click at “Add page”.
- If you check the “Child” box, the new page will be a child of the current page instead of a sibling
- Add you content, Save. Done.
2.2. Moving a page around
You can move a page in a structure via tiki-admin_structures.php with simple drag&drop, even through differents levels.
2.3. Removing a page
You can remove a page from a structure via tiki-admin_structures.php. Just click on the delete button (
) associated to the page to delete.
Users with the permission to delete the associated wiki page will be prompted a choice to delete the wiki page as well as removing it from the structure.
2.4. Watch Structures
Not only is it is possible to watch any page on the site (with the monitor button
on top of page) but it is also possible to watch a structure by clicking the sub-structure monitoring button
on top of page. It means each time a page in the structure is changed or a page in the structure is added or removed, you can receive an email notification