How to change the main logo and the link?

Hi everyone,

I’d like to change the main logo on Axelor and the link as well.

Does anyone know how to do this?

Thanks in advance :slight_smile:

Hello,

The ideal solution would be to put the image myImage.png in the source directory :
[App Name]/src/main/webapp/img/myImage.png

Logic would like to change the name of the application.logo image of the file
[App Name] /src/main/resources/application.properties
application.logo = img / myImage.png

Warning : personally I did not succeed with this first solution: something probably escaped me.

Another solution, without changing application.properties
Sous [App Name]/src/main/webapp/img/
copy myImage.png to axelor.png
The image myImage.png must be similar in size and weight to axelor.png (40px in height)

In the two previous solutions, you have to rebuild the application and deploy the WAR application on the Tomcat server.

Another solution, faster, but less compliant:
copy myImage.png to axelor.png, in the directory
…/webapps/[App Name]/img/
in the application deployed under Tomcat.

In all cases, stop and restart the server.

1 J'aime

Hello , for the main logo , it take the society one when you log in

Excuse me, I looked too quickly.
bDurtaut is right about this case.
My answer is only valid for the login page.
Sorry

2 J'aime

For the link , change it in the application.properties

Home Website

~~~~~

Link to be used with header logo

application.home = http://www.axelor.com

2 J'aime

Thanks very much for your answers :slight_smile:

Is there a way to do so in back-office instead directly into the code? Indeed, we cannot rebuild the ERP for now because it’s already in production.

Your answer just gave me the idea to change it in the login page too. So thanks for that :slight_smile: