Sylvain Desbureaux wrote:
Hi,
I don't manage to put a favicon for xwiki. Any clues ?
Well, a favicon is usually placed in the root of the URL, like
www.myserver.com/favicon.ico
Doing that in a java webapp container usually involves adding that file
not to the xwiki webapp, but to the ROOT webapp. In tomcat, there is a
ROOT directory inside webapps.
Another solution is to put something like this in
webapps/xwiki/skins/albatross/htmlheader.vm:
<link rel="icon" href="$xwiki.getSkinFile("favicon.png")"
type="image/png"/>
<link rel="shortcut icon"
href="$xwiki.getSkinFile("favicon.png")"
type="image/png"/>
and put a favicon.png (you can change the name, if you want) in
webapps/xwiki/skins/albatross
If you're not using the albatross skin, change the path accordingly.
Sergiu