Results 1 to 4 of 4

Thread: removing the add image button from Address Book

  1. #1
    amoxous is offline Junior Member
    Join Date
    Jul 2010
    Posts
    7
    Rep Power
    5

    Default removing the add image button from Address Book

    Hi,
    We are considering about using Zimbra Open Source. Nowadays, we are preparing the system and our structure.. We have approximetely 2000 user. So we need to decrease the database size as possible as we can.. We removed the add image button from address book part. We did the fallowings;

    Make the fallowing changes on /opt/zimbra/jetty/webapps/zimbra/js/Contacts_all.js

    Change the fallowing lines that onclick events equals to “false”

    { id: "VIEW_IMAGE", ignore: true, onclick: "false", visible: "get('IMAGE')" },
    { id: "REMOVE_IMAGE", ignore: true, onclick: "false", visible: "get('IMAGE')" },


    Under the ZmEditContactViewImage = function(params) function, change the el.innerHTML defination;

    el.innerHTML = [
    "<div style='width:48;height:48'>",
    "<img id='",this._htmlElId,"_img' width='48' height='48'>",
    "</div>"
    ].join("");

    Under the ZmEditContactViewImage = function(params) function, remove the fallowing lines;


    this._badgeEl = document.getElementById(this._htmlElId+"_badge");
    this._setMouseEvents();

    this.addListener(DwtEvent.ONMOUSEOVER, new AjxListener(Dwt.addClass, [el,DwtControl.HOVER]));
    this.addListener(DwtEvent.ONMOUSEOUT, new AjxListener(Dwt.delClass, [el,DwtControl.HOVER]));
    this.addListener(DwtEvent.ONMOUSEUP, new AjxListener(this, this._chooseImage));


    Under the ZmEditContactViewImage.prototype.setValue = function(value) function, remove the fallowing lines;

    this._badgeEl.className = "ImgAdd";
    this._badgeEl.className = "ImgEditBadge";


    cp Contacts_all.js Contacts_all.js.changed
    gzip Contacts_all.js
    mv Contacts_all.js.gz Contacts_all.zgz
    cp Contacts_all.js.changed Contacts_all.js
    chown zimbra:zimbra Contacts_all.js

    Delete all cookies from browser
    Login again your username and password
    Last edited by amoxous; 08-05-2010 at 04:52 AM.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Quote Originally Posted by amoxous View Post
    We are considering about using Zimbra Open Source. Nowadays, we are preparing the system and our structure.. We have approximetely 2000 user. So we need to decrease the database size as possible as we can..
    If you really are that short of HD space I'd suggest you reconsider what your hardware requirements are and increase that space.

    Quote Originally Posted by amoxous View Post
    Release 6.0.7_GA_2473.SLES11_64_20100616222133 openSUSEUNKNOWN_64 FOSS edition.
    If you're serious about provisioning a reliable mail server I'd also suggest you install Zimbra on a supported platform for stability, for the OSS version I'd suggest you install the RHEL binary on a CentOS5 server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    amoxous is offline Junior Member
    Join Date
    Jul 2010
    Posts
    7
    Rep Power
    5

    Default

    Thanks for your advices. We need to decrease the database size because of the performance of database.. All systems we used are on the OpenSuse Linux, we do not want to change our OS. What kind of problems can we run accross when we use unsopperted OS like OpenSuse Linux?
    In addition to that, we are planning to use Zimbra, on the blade server that have 16GB memory and E5450 CPU.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Quote Originally Posted by amoxous View Post
    Thanks for your advices. We need to decrease the database size because of the performance of database..
    There are considerably larger deployments than yours that don't have that disabled and don't have performance problems, you are using a RAID10 for those files aren't you?

    Quote Originally Posted by amoxous View Post
    All systems we used are on the OpenSuse Linux, we do not want to change our OS. What kind of problems can we run accross when we use unsopperted OS like OpenSuse Linux?
    The fact that it's unsupported should tell you everything you need to know.... you are likely to be able to get it working but if you encounter problems then you're on your own; if you find a bug then there's a possibility that it may never get fixed unless others encounter it; Zimbra is not built for, nor tested, on that platform; you're already on an old release of openSUSE and that will go out of support in the not too distant future; what happens if the build of SLES diverges slightly from your openSUSE build and you have a problem upgrading (you're on your own, again) - need I go on? I assume that this is for your company? If it is then then IMO it's not a sensible business decision to use the openSUSE version for a mail platform. The RHEL version of Zimbra is the most tested version and CentOS is a binary compatible rebuild of RHEL (it's reliable, stable it works well etc.) and that's why I'd recommend it. If you really prefer SUSE then install SLES as your platform for Zimbra.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Removing address book button from user account?
    By jayanth in forum Developers
    Replies: 0
    Last Post: 05-20-2010, 04:55 AM
  2. GAL as default for Address Book
    By thickage in forum Installation
    Replies: 2
    Last Post: 04-29-2008, 09:42 AM
  3. Address book problem zim 4.5.6
    By artimus in forum Administrators
    Replies: 2
    Last Post: 03-24-2008, 12:02 PM
  4. Address Book GAL and alias
    By cedbl in forum Administrators
    Replies: 0
    Last Post: 11-07-2007, 05:20 AM
  5. how to delete contacts that don't show up in Mac address book
    By macdesign13 in forum CalDAV / CardDAV / iSync
    Replies: 5
    Last Post: 09-26-2007, 08:18 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
  •