Not logged in. · Lost password · Register
Forum: General Help and Support Syntax and Usage RSS
How to show TOC on single pages
Avatar
og #1
Member since May 2006 · 426 posts · Location: Bayern
Group memberships: Members
Show profile · Link to this post
Subject: How to show TOC on single pages
I have set NOTOC by configuration for all pages, because i only have few where it is usefull to see.
But how can i enable it for those? I knew the ~~NOTOC~~ syntax, but it seems there is no ~~TOC~~ for inverse logic...
Oli...
Avatar
turnermm (Moderator) #2
Member since Oct 2009 · 4399 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
Try this: https://www.dokuwiki.org/plugin:tocselect

I wrote it a few years ago so can't remember it in detail but just briefly looking over the plugin page, I think it will work.

It's this type of listing that you would want:
https://www.dokuwiki.org/plugin:tocselect#table_of_content…

The syntax for that is:
https://www.dokuwiki.org/plugin:tocselect#auto-selection_o…
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
This post was edited on 2018-11-25, 15:24 by turnermm.
Avatar
turnermm (Moderator) #3
Member since Oct 2009 · 4399 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
Just curious to know if this worked for you.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-12-16, 07:07:01 (UTC +01:00)