[dokuwiki] Re: Where is the "html_toc" function?
- From: Anika Henke <a.c.henke@xxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 23 Feb 2006 23:17:52 +0100
Rex Gozar wrote:
Browsing thru the site, I saw a reference to html_toc(), that was alledgedly
in inc/html.php. I had downloaded the latest release and it is not there.
The function html_toc() was removed in July last year. (Most probably
because of the new parser.)
I am attempting to use the 'sidebar' patch, and I want to display the TOC in
my sidebar instead of the page body. So I need two things, (1) how do I
turn off the TOC in the page, and (2) what function do I call to get the
HTML for the TOC?
(1) Set $conf['maxtoclevel'] to 0
(http://wiki.splitbrain.org/wiki:config#maxtoclevel).
(2) Unfortunately, it is not possible to separate the TOC from the rest
of the content. During the last few days Andi changed a few things
concerning the TOC, making it possible to separate it, at last. But I
don't know how far he got!?
Anika
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Where is the "html_toc" function?
- From: Rex Gozar
Other related posts:
- » [dokuwiki] Where is the "html_toc" function?
- » [dokuwiki] Re: Where is the "html_toc" function?
- » [dokuwiki] Re: Where is the "html_toc" function?
Browsing thru the site, I saw a reference to html_toc(), that was alledgedly in inc/html.php. I had downloaded the latest release and it is not there.
I am attempting to use the 'sidebar' patch, and I want to display the TOC in my sidebar instead of the page body. So I need two things, (1) how do I turn off the TOC in the page, and (2) what function do I call to get the HTML for the TOC?
Anika -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- [dokuwiki] Where is the "html_toc" function?
- From: Rex Gozar