Change favicon ?


I cannot change the favicon of my Nuxeo instance : I have replaced all the favicon images that I found on my server

./nxserver/web/root.war/modules/org.nuxeo.ecm.webengine.base/skin/resources/image/favicon.gif ./nxserver/web/root.war/modules/org.nuxeo.ecm.webengine.admin/skin/resources/image/favicon.gif ./nxserver/nuxeo.war/icons/favicon.png ./webapps/ROOT/favicon.ico

and the default favicon still appear :(

How can I do that ?

Thank you

0 votes

1 answers




The right favicon displayed in the Home, DM, Admin views is the /nxserver/nuxeo.war/icons/favicon.png. The other ones are displayed in the webengine view.

If you keep the same name and replace them in your server, the problem might be a cache issue from your browser.

To be sure your icon is loaded, open in a new tab your favicon Force your browser to refresh it, and then reload your Nuxeo page.

As an advice, if you change files or resources directly in your server, you will lost your changes when you will restart it. The best way is to override them in your custom jar.

3 votes

Thank you for your answer : it was indeed a cache problem

But the fact that I will lose change anytime I restart my server is quite a huge problem for me… I'll keep the default favicon then

Can't you integrate the favicon customization into Nuxeo Studio ? ;)

Have a nice day


No you will have to create a Nuxeo plugin project with Nuxeo IDE contribution and add it into the web/nuxeo.war/icons/

The fact that you' ll lose your changes that you made directly in the server at each restart is not specific to the favicon, it is the behavior of server. At each restart, a server will check all the packages included in it and deploy all the files and resources at the right place by overwriting the old deployed elements.

But a favicon can be a new element to add to the Branding part, we will think about it :)