Loading...
 
Skip to main content

Support to set limit of header level to show by maketoc

Status
Closed
Subject
Support to set limit of header level to show by maketoc
Category
  • Feature request
Feature
Wiki (page view, edit, history, rename, etc)
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
Fixed or Solved
Submitted by
Nelson Ko
Volunteered to solve
Nelson Ko
Lastmod by
Marc Laporte
Rating
(0)
Description

It will be nice to allow the setting of limit of levels to show for maketoc:

Copy to clipboard
{maketoc maxlevel=2}

will cause only ! and !! headers to be shown, not !!!.

Solution

This works in 3.0 (maybe before)

Copy to clipboard
{maketoc maxdepth=1}


See maketoc

Importance
4
Easy to solve?
4
Priority
16
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1358
Created
Thursday 20 September, 2007 22:11:51 UTC
by Unknown
LastModif
Tuesday 12 November, 2013 02:35:35 UTC


Show PHP error messages