How to force Ajax mode on all users: Difference between revisions
(Created page with "=How to force Ajax mode on all users= {{KB|{{ZC}}|{{ZCS 8.7}}|}} ===Resolution=== {{Article Footer|Zimbra Collaboration 8.7| 2428/07/2017}} {{NeedSME|SME1|SME2|COPY...") |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=How to force Ajax mode on all users= | =How to force Ajax mode on all users= | ||
{{KB|{{ | {{KB|{{WIP}}|{{ZCS 8.7}}||}} | ||
===Resolution=== | |||
* This solution is for ZCS 8.7.x. | |||
As always, make a backup of the files that we will modify just in case. | |||
'''Step1:''' | |||
Edit file ZmMsg.properties: | |||
vim /opt/zimbra/jetty-distribution-9.3.5.v20151012/webapps/zimbra/WEB-INF/classes/messages/ZmMsg.properties | |||
Inside find the lines starting with client+Mobile/Standard/Touch ( eg. clientMobile). They are one below the other. Delete the value of these attributes like so, but leave the clientPreferred value only: | |||
clientMobile = | |||
clientPreferred = Preferred | |||
clientStandard = | |||
clientTouch = | |||
'''Step2:''' | |||
Edit file login.jsp: | |||
vim /opt/zimbra/jetty-distribution-9.3.5.v20151012/webapps/zimbra/public/login.jsp | |||
Inside, find the following lines: | |||
<option value="touch" <c:if test="${client eq 'touch'}">selected</c:if>> <fmt:message key="clientTouch"/></option> | |||
<option value="mobile" <c:if test="${client eq 'mobile'}">selected</c:if>> <fmt:message key="clientMobile"/></option> | |||
<option value="standard" <c:if test="${client eq 'standard'}">selected</c:if>> <fmt:message key="clientStandard"/></option> | |||
<option value="advanced" <c:if test="${client eq 'advanced'}">selected</c:if>> <fmt:message key="clientAdvanced"/></option> | |||
And remove all of them. | |||
'''Step3:''' | |||
Restart Zimbra | |||
zmcontrol restart | |||
===Result=== | |||
Finally, the login page will look like that. The ''preferred'' version can be configured from COS: | |||
[[File:forceajax.jpg]] | |||
{{Article Footer|Zimbra Collaboration 8.7| | {{Article Footer|Zimbra Collaboration 8.7| 28/07/2017}} | ||
{{NeedSME|SME1|SME2|COPY EDITOR}} | {{NeedSME|SME1|SME2|COPY EDITOR}} |
Latest revision as of 20:12, 27 August 2020
How to force Ajax mode on all users
Resolution
- This solution is for ZCS 8.7.x.
As always, make a backup of the files that we will modify just in case.
Step1: Edit file ZmMsg.properties:
vim /opt/zimbra/jetty-distribution-9.3.5.v20151012/webapps/zimbra/WEB-INF/classes/messages/ZmMsg.properties
Inside find the lines starting with client+Mobile/Standard/Touch ( eg. clientMobile). They are one below the other. Delete the value of these attributes like so, but leave the clientPreferred value only:
clientMobile = clientPreferred = Preferred clientStandard = clientTouch =
Step2:
Edit file login.jsp:
vim /opt/zimbra/jetty-distribution-9.3.5.v20151012/webapps/zimbra/public/login.jsp
Inside, find the following lines:
<option value="touch" <c:if test="${client eq 'touch'}">selected</c:if>> <fmt:message key="clientTouch"/></option> <option value="mobile" <c:if test="${client eq 'mobile'}">selected</c:if>> <fmt:message key="clientMobile"/></option> <option value="standard" <c:if test="${client eq 'standard'}">selected</c:if>> <fmt:message key="clientStandard"/></option> <option value="advanced" <c:if test="${client eq 'advanced'}">selected</c:if>> <fmt:message key="clientAdvanced"/></option>
And remove all of them.
Step3: Restart Zimbra
zmcontrol restart
Result
Finally, the login page will look like that. The preferred version can be configured from COS: