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

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 08-05-2010, 04:42 AM
Junior Member
 
Posts: 7
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..
Reply With Quote
  #2 (permalink)  
Old 08-05-2010, 04:49 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #3 (permalink)  
Old 08-05-2010, 05:01 AM
Junior Member
 
Posts: 7
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.
Reply With Quote
  #4 (permalink)  
Old 08-05-2010, 05:24 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
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.