Not logged in. · Lost password · Register
Forum: General Help and Support Templates and Layout RSS
Autogenerated TOC in sidebar
Avatar
oliverm #1
Member since Sep 2007 · 7 posts
Group memberships: Members
Show profile · Link to this post
Subject: Autogenerated TOC in sidebar
Hi,

I've been trying out some sidebars as i think this is a missing key feature of Doku. While there are some great sidebar templates out there, I would like something that simply puts a TOC in the sidebar and updates it.

I've found a few themes with this feature, but alas the themes themselves are....not to my taste :)

Does anyone know how I can include a TOC that auto updates in a sidebar, or know of a sidebar template that does this ?

Olly
Avatar
ach (Administrator) #2
Member since May 2006 · 1926 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
See http://wiki.splitbrain.org/wiki:tpl:tpl_toc.
Avatar
oliverm #3
Member since Sep 2007 · 7 posts
Group memberships: Members
Show profile · Link to this post
I didnt think you could include PHP in a wiki page? Is there a wiki script tag style thing to include that TOC in the page ?
Avatar
ach (Administrator) #4
Member since May 2006 · 1926 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
tpl_toc() is not to be used in a wiki page, but in the main.php of a template ...
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: 2019-08-19, 22:39:15 (UTC +02:00)