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

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 Display Modes
  #1 (permalink)  
Old 04-11-2006, 11:03 AM
Junior Member
 
Posts: 9
Default Change Default Contact Display Fields

I've done a forum search and can't find the answer to this question I have. How do I change the default contact display (for all users) from Last, First to Company (Last, First)? I've examined the MySQL tables, conf files, ldif files, etc, but cannot find where this information is kept.

Running OS version on RHEL4. Works beautifully. Thanks for a great mail server/client!
Reply With Quote
  #2 (permalink)  
Old 04-11-2006, 12:12 PM
Zimbra Employee
 
Posts: 4,784
Default

At this time this is not something you can config. You would need to edit the code (ZmContactView.js):

Code:
ZmContactView._selectFields = { 
	"fileAs": [ 
		{ name: ZmContact._AB_FILE_AS[ZmContact.FA_LAST_C_FIRST],				selected: true  }, 
		{ name: ZmContact._AB_FILE_AS[ZmContact.FA_FIRST_LAST], 				selected: false },
		{ name: ZmContact._AB_FILE_AS[ZmContact.FA_COMPANY],					selected: false },
		{ name: ZmContact._AB_FILE_AS[ZmContact.FA_LAST_C_FIRST_COMPANY],		selected: false },
		{ name: ZmContact._AB_FILE_AS[ZmContact.FA_FIRST_LAST_COMPANY], 		selected: false },
		{ name: ZmContact._AB_FILE_AS[ZmContact.FA_COMPANY_LAST_C_FIRST],		selected: false },
		{ name: ZmContact._AB_FILE_AS[ZmContact.FA_COMPANY_FIRST_LAST], 		selected: false }
	]
};
Of course in a production install you'd need to edit ZimbraMail_all.js and then rezip it.

zip -c ZimbraMail_all.js > ZimbraMail_all.js.zgz
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 04-12-2006, 07:55 AM
Junior Member
 
Posts: 9
Default

thanks! I'll play with that on my test server and see if I can manage not to break it
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0