[dokuwiki] Re: bug or feature: missing implementation of render_TOC in Doku_Renderer_xhtml

  • From: Michael Klier <chi@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 27 Mar 2008 10:45:37 +0100

Uwe Koloska wrote:
> is it a bug or a feature that in the current developer version the xhtml 
> renderer has no implementation of render_TOC()  It instead uses the function 
> html_TOC().

Feature ;-).

> Is the class function render_TOC() obsolete?
> Is the missing on purpose?

Yes, the TOC has been refactored some time ago because template authors liked to
position it independ from the page content. (see tpl_toc());

> I have found this because the great arctic template uses render_TOC() to 
> render the toc in the sidebar. For a quick fix just replace render_TOC() by 
> html_TOC()

I am the author of the arctic template, and this is already on my todo list
for the next release, which will be short after the upcoming DokuWiki release
;-).

Best Regards,
    Chi

-- 
Michael Klier

www:    http://www.chimeric.de
jabber: chi@xxxxxxxxxxxxxxxxxx
key:    http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551

Other related posts: