That looks a lot cleaner than my (old) macro code :-)
{{html wiki="true"}}
{{spoiler title="Inhoudsopgave"}}{{toc depth="2"/}}{{/spoiler}}
{{/html}}
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Table-of-content-in-a-panel-tp7603447p7603468.html
Sent from the XWiki- Us
Hi,
See http://jira.xwiki.org/browse/XWIKI-13750
Thanks
-Vincent
> On 11 Apr 2017, at 16:57, Gerritjan Koekkoek wrote:
>
> Is it possible to use the TOC-macro in a side panel
>
>
> When I have a panel with the following code:
>
> {{velocity}}
>
> #panelheader('waihonaTableOfContent')
>
>
Is it possible to use the TOC-macro in a side panel
When I have a panel with the following code:
{{velocity}}
#panelheader('waihonaTableOfContent')
{{toc start=1 depth=6 numbered=false scope=page /}}
#panelfooter()
{{/velocity}}
And I place that panel on a page I'm getting no results?