Re: [xwiki-users] Table of content in a panel
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
Hi, See http://jira.xwiki.org/browse/XWIKI-13750 Thanks -Vincent > On 11 Apr 2017, at 16:57, Gerritjan Koekkoekwrote: > > 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 > > >
[xwiki-users] Table of content in a panel
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