How to change modern user interface logo: Difference between revisions

Line 12: Line 12:


====Solution====
====Solution====
It is working with virtual host name and logo format with svg. So first you need to login in Modern UI.
It is working with virtual host name and logo format with svg. Check virtual host name with below steps.
Then right-click on the logo and open the logo in new tab. It will show virtual hostname like below.
 
https://example.com/modern/clients/default/assets/logo.svg?v=1
- Login in Modern UI  
 
- Right-click on the logo and open the logo in new tab.
- It will show default virtual hostname like below, or It will show customize virtual hostname.


====For Default Virtual Host ====
====For Default Virtual Host ====

Revision as of 17:11, 23 November 2021

How to change the logo of Modern UI ?


   KB 24383        Last updated on 2021-11-23  




0.00
(0 votes)

Problem

-Replace the application logo of Modern UI with company brand logo.

Modern UI Logo.PNG

Solution

It is working with virtual host name and logo format with svg. Check virtual host name with below steps.

- Login in Modern UI

- Right-click on the logo and open the logo in new tab.

- It will show default virtual hostname like below, or It will show customize virtual hostname.

For Default Virtual Host

Deafult virtual host.PNG

If it shows clients/default. Then please follow below steps

Step 1
  • Go on below path
cd /opt/zimbra/jetty/webapps/zimbra/modern/clients/default/assets
Step 2
  • Copy logo.svg with logo.svg.old (As backup)
cp logo.svg logo.svg.old
Step 3
  • Upload your company logo name with logo.svg at below path
/opt/zimbra/jetty/webapps/zimbra/modern/clients/default/assets

If you add your image as root user, you might be want to change the files privileges to Zimbra:

chown zimbra:zimbra /opt/zimbra/jetty/webapps/zimbra/modern/clients/default/assets/logo.svg
Step 4
  • Edit config.json to change the version. Do not use a previously used value.
vi /opt/zimbra/jetty/webapps/zimbra/modern/clients/default/config.json
Step 5
  • Restart the zmmailboxdctl service
zmmailboxdctl restart

Customize Virtual Hostname

Custom virtual host.PNG

If It shows the default virtual host name like example.com. Then you need to follow the below step.

Step 1
  • Switch Zimbra user and Go on below path
su - zimbra
cd /opt/zimbra/jetty/webapps/zimbra/modern/clients/
Step 2
  • Copy default virtual host with your virtual hostname
cp -r default <virtual hostname>
Step 3
  • After that it will show like below. We have example.com virtual host
zimbra@example:~/jetty/webapps/zimbra/modern/clients$ pwd
/opt/zimbra/jetty/webapps/zimbra/modern/clients
zimbra@example:~/jetty/webapps/zimbra/modern/clients$ ls
example.com  default
zimbra@example:~/jetty/webapps/zimbra/modern/clients$
Step 4
  • You need to go on your directory assets in your virtualhost directory
cd /opt/zimbra/jetty/webapps/zimbra/modern/clients/example.com/assets
Step 5
  • Copy logo.svg with logo.svg.old (As backup)
cp logo.svg logo.svg.old
Step 6
  • Upload your company logo name with logo.svg at below path
/opt/zimbra/jetty/webapps/zimbra/modern/clients/example.com/assets


Step 7
  • Upload your company logo name with logo.svg at below path
/opt/zimbra/jetty/webapps/zimbra/modern/clients/example.com/assets
Step 8
  • Edit config.json to change the version. Do not use a previously used value.
vi /opt/zimbra/jetty/webapps/zimbra/modern/clients/example.com/config.json
Step 9
  • Restart the zmmailboxdctl service
zmmailboxdctl restart


Submitted by: Ankit Dagdi
Verified Against: ZCS 9.0 Date Created: 2021-11-03
Article ID: https://wiki.zimbra.com/index.php?title=How_to_change_modern_user_interface_logo Date Modified: 2021-11-23



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search