Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Removing link to Zimbra Desktop in 5.0.4

  1. #1
    Join Date
    Sep 2006
    Location
    Illinois
    Posts
    374
    Rep Power
    9

    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

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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:
    switch_to_offline { display:none; }
    or
    #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
    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
    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
    switchToOfflineClient = Offline Version
    switchToOfflineURL = http://www.zimbra.com/products/desktop.html
    td class="ZhAppSwitchLink" align="center">span id="switch_to_offline">
    a target="_new" href="http://www.zimbra.com/products/desktop.html">Offline Version/a>
    td id="skin_td_switch_offline">a target="_blank" href="http://www.zimbra.com/products/desktop.html">Offline version/a>
    #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 12:54 PM. Reason: /_base/

  3. #3
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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'..

  4. #4
    Join Date
    Mar 2008
    Posts
    4
    Rep Power
    7

    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.

  5. #5
    Join Date
    Oct 2007
    Location
    North East England
    Posts
    167
    Rep Power
    8

    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 02:18 AM.

  6. #6
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  7. #7
    Join Date
    Mar 2008
    Posts
    4
    Rep Power
    7

    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!

  8. #8
    Join Date
    Oct 2007
    Location
    North East England
    Posts
    167
    Rep Power
    8

    Default

    @MisterLas: What about in /opt/zimbra/mailboxd/webapps/zimbra/css/common.css?

  9. #9
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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?

  10. #10
    Join Date
    Mar 2008
    Posts
    4
    Rep Power
    7

    Default

    @webman:

    No, that did not affect it.

Similar Threads

  1. [SOLVED] Install Problem in Ubuntu 6.06 Server
    By xtimox in forum Installation
    Replies: 16
    Last Post: 03-27-2008, 10:36 AM
  2. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  3. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 07:47 AM
  4. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM
  5. port 7071 not listening OS X install
    By leeimber in forum Installation
    Replies: 7
    Last Post: 03-21-2006, 10:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •