Hi Tskala,

> On 24 Sep 2016, at 14:35, tskala <tomas_sk...@gordic.cz> wrote:
> 
> Probably easy for someone familiar with API.

Actually it’s not that easy ;)

We have an open issue for implementing this (if we’re talking about the same 
thing):
http://jira.xwiki.org/browse/XRENDERING-240

So you wish to display the TOC for another page but without including that 
other page’s content, is that it?

Could you explain your need since there may be other ways of achieving it?

Thanks
-Vincent

> How can I display TOC from other page? Played with {{include}}, {{display}},
> {{context}} but none gives results. ( {{display}} is close if it had
> original page as a context instead of "new".) All I get is heading and empty
> (or current page) TOC. 
> 
> There must be a way with some velocity based rendering and cropping specific
> header but have no idea how. 
> 
> Thanks
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/TOC-from-other-Page-tp7601369.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to