Loading...
 
Features / Usability

Features / Usability


Table of contents tag {toc}

posts: 89 Argentina

TW documentation states that tag {toc} possible parameters are: order, showdesc, shownum, type, structId and maxdepth.
I need to limit maximum depth of tree to be created, so I've tried to use the following code:

{toc maxdepth=1}

to get only 1 one level depth, but it doesn't work.

Could someone tell me since which TW release is maxdepth parameter available?
Nowadays we're working on TikiWiki 1.9.5 to power our Intranet CMS.
Thanks,
Rogelio

posts: 4656 Japan

I'm not sure about toc, but for maketoc those parameters are new for Tiki 1.10 (see an example at http://zukakakina.com/maketoctest). I imagine the situation might be the same for toc, but don't really know as I haven't tested it or checked the files.

-- Gary


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting