[xwiki-users] Multipage Table of contents not working
hey everyone, I tried this extension http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Table+Of+Cont... i exactly copied the code the output was same as if WYSIWYG sees code as text Best Regards, -- *BHY*
As far as I can see this snippet has been written for xwiki/1.0 syntax. It will need to be modified to work with a xwiki/2.x syntax document. A first thing you can try is to put {{velocity}} {{html}} ... {{/html}} {{/velocity}} around it. You will probably also need to take a look at http://www.xwiki.org/xwiki/bin/view/XWiki/XWikiSyntax too for difference between 1.0 and 2.x syntaxes differences. On Sun, May 26, 2013 at 2:58 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
hey everyone,
I tried this extension http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Table+Of+Cont...
i exactly copied the code
the output was same as if WYSIWYG sees code as text
Best Regards,
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
thanks very much this is result i am getting i am not sure it is the expected result as there is no example, +/- [Events>Knowledge Sharing.Events?bc=Knowledge Sharing.Events] - +/- [Annual Conference>Knowledge Sharing.Annual Conference?bc=Knowledge Sharing.Events] is it ? On 26 May 2013 14:07, Thomas Mortagne <[email protected]> wrote:
As far as I can see this snippet has been written for xwiki/1.0 syntax. It will need to be modified to work with a xwiki/2.x syntax document.
A first thing you can try is to put
{{velocity}} {{html}} ... {{/html}} {{/velocity}}
around it. You will probably also need to take a look at http://www.xwiki.org/xwiki/bin/view/XWiki/XWikiSyntax too for difference between 1.0 and 2.x syntaxes differences.
On Sun, May 26, 2013 at 2:58 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
hey everyone,
I tried this extension
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Table+Of+Cont...
i exactly copied the code
the output was same as if WYSIWYG sees code as text
Best Regards,
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
On Sun, May 26, 2013 at 3:17 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
thanks very much
this is result i am getting i am not sure it is the expected result as there is no example,
+/- [Events>Knowledge Sharing.Events?bc=Knowledge Sharing.Events]
- +/- [Annual Conference>Knowledge Sharing.Annual Conference?bc=Knowledge Sharing.Events]
Except for the +/- those looks like xwiki/1.0 links, you should try to find how they are generated in the velocity code and change it to generate xwiki/2.1 links. Note that I don't know this snippet so I cannot tell you how it's supposed to work.
is it ?
On 26 May 2013 14:07, Thomas Mortagne <[email protected]> wrote:
As far as I can see this snippet has been written for xwiki/1.0 syntax. It will need to be modified to work with a xwiki/2.x syntax document.
A first thing you can try is to put
{{velocity}} {{html}} ... {{/html}} {{/velocity}}
around it. You will probably also need to take a look at http://www.xwiki.org/xwiki/bin/view/XWiki/XWikiSyntax too for difference between 1.0 and 2.x syntaxes differences.
On Sun, May 26, 2013 at 2:58 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
hey everyone,
I tried this extension
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Table+Of+Cont...
i exactly copied the code
the output was same as if WYSIWYG sees code as text
Best Regards,
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (2)
-
Belkhiria Hamza Yazid -
Thomas Mortagne