Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-28-2008, 09:53 PM
Trained Alumni
 
Posts: 343
Default Removing link to Zimbra Desktop in 5.0.4

We're not prepared yet to offer the Zimbra Desktop as a supported option at our institution.

I remember seeing a thread about this in the last day or so but can't seem to find it. Someone mentioned there was a way to remove the Zimbra Desktop (Offline) link from the Web UI.

Could someone point me to that?

Thanks,
Matt
Reply With Quote
  #2 (permalink)  
Old 03-29-2008, 07:42 AM
Moderator
 
Posts: 6,237
Default

Locations of values:
(Afterwards - restart the server(s)/empty the jetty work folder, empty your browser cache, and visit the page again.)

Should be able to append to the bottom of a css file like /opt/zimbra/mailboxd/webapps/zimbra/css/common.css or in /opt/zimbra/mailboxd/webapps/zimbra/skins/_base/base2/skin.css a style:
Quote:
switch_to_offline { display:none; }
or
Quote:
#skin_td_switch_offline{ display:none; }
/opt/zimbra/mailboxd/webapps/zimbra/skins/_base/base2/skin.html
/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/tags/infra/view.tag
Quote:
span id="switch_to_offline">a href="" target="_new" >fmt:message key="switchToOfflineClient" />/a>/span>
/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/classes/messages/ZmMsg.properties
Quote:
setupOfflineAccts = To manage your offline accounts, please visit the \
switchToOfflineClient = Offline version
switchToOfflineClientEx = a href='http://www.zimbra.com/products/desktop.html' target='_blank'>Learn about the offline version /a>
/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/classes/messages/ZhMsg.properties
Quote:
switchToOfflineClient = Offline Version
switchToOfflineURL = http://www.zimbra.com/products/desktop.html
Quote:
td class="ZhAppSwitchLink" align="center">span id="switch_to_offline">
a target="_new" href="http://www.zimbra.com/products/desktop.html">Offline Version/a>
Quote:
td id="skin_td_switch_offline">a target="_blank" href="http://www.zimbra.com/products/desktop.html">Offline version/a>
Quote:
#skin_container_switch,
#skin_td_switch_offline,
#skin_container_help,
#skin_container_logoff {
white-space:nowrap;
text-align: center;

Last edited by mmorse; 03-31-2008 at 11:54 AM.. Reason: /_base/
Reply With Quote
  #3 (permalink)  
Old 03-30-2008, 06:13 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

I know Zimbra is excited about desktop and its owned by Yahoo etc, but do we really need yet more advertising in the client that we have to find and disable? At least a config value to switch it off like the yahoo search 'feature'..
Reply With Quote
  #4 (permalink)  
Old 03-30-2008, 11:50 AM
New Member
 
Posts: 4
Default

We added the function to the common.css and no change occurred. We even tried putting with a period in front like the other functions were in the css file. Both ways: no change.

Are you sure there is no other steps.
Reply With Quote
  #5 (permalink)  
Old 03-31-2008, 01:15 AM
Special Member
 
Posts: 167
Default

For me, this single addition to the end of common.css worked:

Code:
#skin_td_switch_offline{ display:none; }

Last edited by webman; 03-31-2008 at 01:18 AM..
Reply With Quote
  #6 (permalink)  
Old 03-31-2008, 05:25 AM
Moderator
 
Posts: 6,237
Default

MisterLas, Welcome to the forums!
You can also apply a style in skin.css - I've updated my prior post with pretty much every reference to the offline link in the code.
Reply With Quote
  #7 (permalink)  
Old 03-31-2008, 06:21 AM
New Member
 
Posts: 4
Default

Thanks for your help on this matter.

Quote:
Originally Posted by mmorse View Post
/opt/zimbra/mailboxd/webapps/zimbra/skins/_base2/skin.css:
#skin_td_switch_offline{ display:none; }

I was able to append the "#skin_td_switch_offline{ display:none; }" to end of a skin.css of a different theme, and it worked fine. But we use sky as the default theme for our employees (and they cannot change the skin) and there is no sky skin.css. Also, we don't have a "_base2" folder. We have an "_base" with subfolders of "base" and "base2". I have added the function to both skin.css files in base and base2, and no difference. Any suggestions for this?

Thanks!
Reply With Quote
  #8 (permalink)  
Old 03-31-2008, 06:23 AM
Special Member
 
Posts: 167
Default

@MisterLas: What about in /opt/zimbra/mailboxd/webapps/zimbra/css/common.css?
Reply With Quote
  #9 (permalink)  
Old 03-31-2008, 06:26 AM
Moderator
 
Posts: 6,237
Default

Quote:
Originally Posted by MisterLas View Post
We have an "_base" with subfolders of "base" and "base2".
That is correct, I just typed the url fast & omitted /_base/ apparently. I think skin.css there had the function already defined earlier in the file that you might be clashing with? skin.css | grep offline Any luck throwing that in common.css?
Reply With Quote
  #10 (permalink)  
Old 03-31-2008, 06:27 AM
New Member
 
Posts: 4
Default

@webman:

No, that did not affect it.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.