[pmwiki-users] figuring out table of contents location

John Rankin john.rankin at affinity.co.nz
Sun Jul 22 02:22:33 CDT 2012

> Hi, all,
> I have been scratching my head about this, and can't quite figure it out.
> What I want is for the table of contents for the page to appear in the
> side bar rather than in the wikitext area. The only one I could manage
> to make do this is HandyToc, but it has the disadvantage (for me) of
> requiring javascript.
> I tried using the remote toc facility of pagetoc, but it didn't work
> as I'd hoped.

Can you expand this a little? The use case is what (:toc-page:) was
designed to do and from memory others have used it for this scenario. I
haven't looked at the code for a while, so will need to refresh my memory.
> With that, Site.PageToc will contain whatever code is needed to
> display the page's table of contents.
> With pagetoc.php, I tried putting (:toc-hide:) in the GroupHeader, and
> (:toc-page {*$FullName} self=1:) in Site.PageToc. No love.

So what happens, exactly?

John Rankin

More information about the pmwiki-users mailing list