Starting in Tiki12, a new feature to allow adding an automatic Table Of Contents ("Auto TOC") has been added to the Wiki.
Auto-toc can be enabled as admin through the admin panel in "Admin home > Wiki > General Preferences (Tab) > Section Automatic table of contents (Page Display before Tiki 15) > Wiki auto-toc"
You can also choose if the top TOC should be inserted into the page content or not. The TOC can be placed at the top or "floating" left or right. If placed at the top, the border width is set to 0px.
The Auto TOC option can be disabled on a per page basis in the page properties.
Auto TOC is not included in the print view of the page.
Auto-toc will add the TOC in two places.
- A static TOC located at the top of the page. The TOC is inserted into the page content at runtime.
- A floating TOC, located at the top of the browser window. This TOC is only visible when you scroll down past the top of the page.
Additionally, you can also see it in action in the screencast below.
You can disable it in some wiki pages. In order to do so, edit the page, go to the properties tab, and set "Page display options > Automatic Table of Contents generation" to "off":