Re: [xwiki-users] TOC in a Panel

2014-03-08 Thread Hamster
The Developers of XWiki do know that this is something that users want to see in XWiki. Vincent Massol started a topic this year: Users-are-in-need-of-a-reusable-Tree-view-of-pages...

Re: [xwiki-users] TOC in a Panel

2014-03-08 Thread Hamster
This is something I have been working on...but it's far from perfect (it's more like a Proof Of Concept) It uses the Spoiler Macro and the TOC Macro. Put this at the top of a page: {{html wiki=true}} div id=menu {{spoiler title=TOC}}{{toc depth=2/}}{{/spoiler}} /div {{/html}} And add this

[xwiki-users] TOC in a Panel

2014-03-07 Thread craig barnett
Hi, I'm new to xwiki and having a lot of trouble doing something that feels like it should be simple. All i'm wanting is to be able to display the {{toc}} macro of the current page on a side panel. Everything I find online seems to be from previous xwiki syntaxes and therefore out dated and not

Re: [xwiki-users] TOC in a Panel

2014-03-07 Thread Leonardo Kodato
Hi. I'm new to Xwiki too, but what I can say is that I see just one possibility without recurring to programming. You can create a template and set the macro in it. Then everytime a user create an article, he would have 2 options: create a new page from scratch or create it from a template. That