Re: [xwiki-users] Table of content in a panel

2017-04-13 Thread Hamster
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- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Table of content in a panel

2017-04-11 Thread Vincent Massol
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')
> 
>  {{toc start=1 depth=6 numbered=false scope=page /}}
> 
> #panelfooter()
> 
> {{/velocity}}
> 
> 
> And I place that panel on a page I'm getting no results?
> 
> 
> Gerritjan Koekkoek
> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
> Visit our website
> Facebook
> email
> 
> 
> 



[xwiki-users] Table of content in a panel

2017-04-11 Thread Gerritjan Koekkoek
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?


Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website
Facebook
email