cancel
Showing results for 
Search instead for 
Did you mean: 

Change favicon ?

Julien_A_
Champ on-the-rise
Champ on-the-rise

Hello,

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

1 ACCEPTED ANSWER

Lise_Kemen
Star Contributor
Star Contributor

Hello,

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. http://stackoverflow.com/questions/2208933/how-do-i-force-a-favicon-refresh

To be sure your icon is loaded, open in a new tab your favicon http://localhost:8080/nuxeo/icons/favicon.png 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.

View answer in original post

4 REPLIES 4

Lise_Kemen
Star Contributor
Star Contributor

Hello,

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. http://stackoverflow.com/questions/2208933/how-do-i-force-a-favicon-refresh

To be sure your icon is loaded, open in a new tab your favicon http://localhost:8080/nuxeo/icons/favicon.png 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.

Thank you for your answer

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.