But I'm running multiple xwikis on my server using an xwiki farm. I want this favicon to apply only to one of the xwikis. Is there any way to specify the favicon for just the one xwiki? Sam On Feb 25, 2009, at 11:20 AM, Sergiu Dumitriu wrote:
Samuel Lee wrote:
Does anyone know how to do this for the toucan skin?
Sam
~~~~~~~~~~~~~~
In fact, I did it in the "Informations Meta HTTP" of the preferences and it worked.
Thank you for the answers
2007/12/6, Sergiu Dumitriu <sergiu at xwiki.com>:
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.
The same thing applies, but the htmlheader.vm file is located in webapps/xwiki/templates/
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users