Change Default Contact Display Fields

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
skullbolix
Posts: 9
Joined: Fri Sep 12, 2014 10:07 pm

Change Default Contact Display Fields

Postby skullbolix » Tue Apr 11, 2006 12:03 pm

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!


14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Change Default Contact Display Fields

Postby 14319KevinH » Tue Apr 11, 2006 1:12 pm

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


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
skullbolix
Posts: 9
Joined: Fri Sep 12, 2014 10:07 pm

Change Default Contact Display Fields

Postby skullbolix » Wed Apr 12, 2006 8:55 am

thanks! I'll play with that on my test server and see if I can manage not to break it :)
13537storm
Advanced member
Advanced member
Posts: 163
Joined: Fri Sep 12, 2014 10:10 pm

Change Default Contact Display Fields

Postby 13537storm » Fri Feb 26, 2010 3:24 am

There's a bug for this. People should vote for the bug if they want it implemented. It's been a few years now... :(
Bug 8723: want client option for default contact FileAs value
Or perhaps someone can create a zimlet that implements the option?
tirgil
Posts: 17
Joined: Sat Sep 13, 2014 2:33 am

Change Default Contact Display Fields

Postby tirgil » Thu Oct 23, 2014 3:39 am

This is very old answer. Is there anything else to solve this problem now? I need to change default display.



--------------

Version : 8.0.2_GA_5569.FOSS Dec 10,2012

Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 6 guests