How To Forcefully Login Through ClassicUI In ZCS9

How To forcefully Login Through Classic UI in ZCS9


   KB 24361        Last updated on 2021-10-13  




0.00
(0 votes)


Problem

While Logging into the webmail in ZCS9, there is an option to select logging with classic UI or Modern UI. Some customers want to restrict the select option only to the classic UI.

Solution

To restrict the select option in webmail forcefully to Classic UI follow the below steps.

  • Edit file ZmMsg.properties:
vi /opt/zimbra/jetty_base/webapps/zimbra/WEB-INF/classes/messages/ZmMsg.properties

Find the lines starting with client+Advanced/Modern/Mobile ( eg. clientMobile). They are one below the other. Delete the value of these attributes like below, but leave the clientPreferred value only as Default

clientAdvanced =
clientPreferred = Default
clientModern =
  • Edit file login.jsp:
vi /opt/zimbra/jetty_base/webapps/zimbra/public/login.jsp 

Seach the below keywords and remove the full lines in which these values are written.

fmt:message key="clientAdvanced"
fmt:message key="clientmodern"

Final look of file should be like below:

   <c:otherwise>
      <select id="client" name="client" onchange="clientChange(this.options[this.selectedIndex].value)">
        <option value="preferred" <c:if test="${client eq 'preferred'}">selected</c:if> > <fmt:message key="clientPreferred"/></option>
           <c:if test="${modernSupported}">
              </c:if>
                </select>
                 </c:otherwise>

Save the file :wq

  • Restart Zimbra
su - zimbra 
zmcontrol restart 

Note: Please keep backup of all files before making any changes into it

Submitted by: Aman Shukla
Verified Against: ZCS 9.0 Date Created: 2021-10-13
Article ID: https://wiki.zimbra.com/index.php?title=How_To_Forcefully_Login_Through_ClassicUI_In_ZCS9 Date Modified: 2021-10-13



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