Question how to use a image on the sidebar in all spaces and pages?
Answer When including images inside the Menu or Toolbar using the radeox {image: } tag, the tag is intepreted in the context of the Wiki page and not in the context of the Menu or Toolbar.

Therefore you need to use HTML and the XWiki API to actually show images in your menu and toolbar.

First upload the image to any page of your wiki that is readable by all your users. You can put the image in the sidebar page: XWiki.Toolbar

Then use the following HTML and velocity code to show that image:

<img src="$xwiki.getAttachmentURL("XWiki.Toolbar", "image.gif")" />
Version 1.4 last modified by Vincent Massol on 10/12/2006 at 12:50

Comments 0

No comments for this document

Attachments 0

No attachments for this document

Creator: marco on 2005/11/02 23:29
This wiki is licensed under a Creative Commons license
1.3.2.9174