Results 1 to 4 of 4

Thread: Change Default Contact Display Fields

  1. #1
    skullbolix is offline Junior Member
    Join Date
    Mar 2006
    Posts
    9
    Rep Power
    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!

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    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
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    skullbolix is offline Junior Member
    Join Date
    Mar 2006
    Posts
    9
    Rep Power
    9

    Default

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

  4. #4
    storm's Avatar
    storm is offline Advanced Member
    Join Date
    May 2006
    Location
    London, UK
    Posts
    179
    Rep Power
    9

    Default

    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?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 45
    Last Post: 11-28-2007, 06:39 PM
  2. Perdition not restart !!!!
    By olibite in forum Administrators
    Replies: 2
    Last Post: 05-22-2007, 03:50 AM
  3. How to change the user's display name format
    By torusgrp in forum Administrators
    Replies: 1
    Last Post: 05-01-2007, 09:40 PM
  4. perdition won't start after 4.5 Upgrade
    By freeformz in forum Administrators
    Replies: 1
    Last Post: 01-29-2007, 07:39 PM
  5. Contact Display
    By tbullock in forum Users
    Replies: 1
    Last Post: 05-24-2006, 09:56 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
  •