[xwiki-users] Problems with trying to add links to specific spaces in the Quick Links panel
Hi All, I'm trying to add links to various Spaces to the QuickLinks panel, but I can't seem to get the code right ... I'm trying to link to a Space called 'Infos Utiles', which is at http://localhost:8080/xwiki/bin/view/Infos+utiles/ I copied the code that links to the Sandbox => * [$msg.get("xe.panels.quicklinks.sandbox")>Sandbox.WebHome] And I guess that I should adapt the xe.panels.quicklinks.sandbox to xe.panels.quicklinks.infos+utiles and the Sandbox.WebHome to Infos+Utiles.WebHome I'm not sure about the '+', but anyway, when I save it, my panel has the following link : xe.panels.quicklinks.infos+utiles<http://192.168.5.165:8080/xwiki/bin/edit/Infos%2BUtiles/WebHome?parent=Panels.QuickLinks>that goes to http://localhost:8080/xwiki/bin/edit/InfosUtiles/WebHome?parent=Panels.Quick... What am I doing wrong?
On Jan 21, 2010, at 1:43 PM, Xavier Bartholome wrote:
Hi All,
I'm trying to add links to various Spaces to the QuickLinks panel, but I can't seem to get the code right ...
I'm trying to link to a Space called 'Infos Utiles', which is at http://localhost:8080/xwiki/bin/view/Infos+utiles/
I copied the code that links to the Sandbox => * [$msg.get("xe.panels.quicklinks.sandbox")>Sandbox.WebHome]
And I guess that I should adapt the xe.panels.quicklinks.sandbox to xe.panels.quicklinks.infos+utiles
and the Sandbox.WebHome to Infos+Utiles.WebHome
I'm not sure about the '+', but anyway, when I save it, my panel has the following link : xe.panels.quicklinks.infos+utiles<http://192.168.5.165:8080/xwiki/bin/edit/Infos%2BUtiles/WebHome?parent=Panels.QuickLinks>that goes to http://localhost:8080/xwiki/bin/edit/InfosUtiles/WebHome?parent=Panels.Quick...
You must not use "+". This is a URL encoding. I've just tested with spaces and it works perfectly well. Here's what I've used: [test>Test Space.Test Page] Thanks -Vincent
Hi Xavier, On Thu, Jan 21, 2010 at 1:43 PM, Xavier Bartholome <[email protected]>wrote:
Hi All,
I'm trying to add links to various Spaces to the QuickLinks panel, but I can't seem to get the code right ...
I'm trying to link to a Space called 'Infos Utiles', which is at http://localhost:8080/xwiki/bin/view/Infos+utiles/
I copied the code that links to the Sandbox => * [$msg.get("xe.panels.quicklinks.sandbox")>Sandbox.WebHome]
You're looking for this: [Infos Utiles>Infos Utiles.WebHome] The $msg.get("xe.panels.quicklinks.sandbox") part is a translation key, you can remove it altogether. As Vincent stated it, you can use spaces in page and space names. The "+" is only used in URLs. Guillaume
And I guess that I should adapt the xe.panels.quicklinks.sandbox to xe.panels.quicklinks.infos+utiles
and the Sandbox.WebHome to Infos+Utiles.WebHome
I'm not sure about the '+', but anyway, when I save it, my panel has the following link : xe.panels.quicklinks.infos+utiles< http://192.168.5.165:8080/xwiki/bin/edit/Infos%2BUtiles/WebHome?parent=Panel...
that goes to
http://localhost:8080/xwiki/bin/edit/InfosUtiles/WebHome?parent=Panels.Quick...
What am I doing wrong? _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/
participants (3)
-
Guillaume Lerouge -
Vincent Massol -
Xavier Bartholome