Results 1 to 7 of 7

Thread: Contacts change

  1. #1
    ziplizard is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    25

    Default Contacts change

    I'm trying to make a simple modification on the main page of the Contacts module (ListView).
    I can't find where to make the change.
    Where do I simply change the wording from "Date Modified" to something else?
    Thanks.

  2. #2
    ziplizard is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    25

    Default Re: Contacts change

    I thought I found it in the /language/en_us.lang.php file. I changed LBL_DATE_MODIFIED array element from "Date Modified" to "Junk" and it did not make the change on the site. What am I missing?

  3. #3
    julian's Avatar
    julian is offline Sugar Team Member
    Join Date
    Sep 2004
    Posts
    1,639

    Default Re: Contacts change

    Hello ziplizard,

    I believe the language strings used in ListViews are usually called LBL_LIST_<x>. Since "Date Modified" appears in almost all Sugar modules, it's possible that it's defined in the Global language pack, located at ./include/language/en_us.lang.php.
    Julian Ostrow
    Systems and Applications Engineer
    SugarCRM Inc.

  4. #4
    ziplizard is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    25

    Default Re: Contacts change

    Nope, it's not in the /includes dir, it's actually in the module dir (ie: /modules/Contacts/language/en_us.lang.php).
    I tried that originally, but I think I had cache issues.
    I figured it out though, thanks.
    Last edited by ziplizard; 2006-02-16 at 10:06 PM.

  5. #5
    julian's Avatar
    julian is offline Sugar Team Member
    Join Date
    Sep 2004
    Posts
    1,639

    Default Re: Contacts change

    Great to hear; no problem.
    Julian Ostrow
    Systems and Applications Engineer
    SugarCRM Inc.

  6. #6
    ziplizard is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    25

    Default Re: Contacts change

    Looking closer at that file: en_us.lang.php.
    The reason I had the problem is the LBL_DATE_MODIFIED is in the array in there twice. So is: LBL_MODULE_NAME, LBL_MODULE_TITLE and several others. ListView referenced the latter defined element in the array, while I had just changed the first one. When I discoverred this, I changed them both, and that fixed it. Is there any particular reason why these are in there twice?

  7. #7
    julian's Avatar
    julian is offline Sugar Team Member
    Join Date
    Sep 2004
    Posts
    1,639

    Default Re: Contacts change

    Hello ziplizard,

    I see that-- not sure why they appear twice. I've filed a bug to fix this, so it shouldn't be a problem in future versions.

    You can track the bug here:
    http://www.sugarcrm.com/crm/?option=...ug_number=4709
    Last edited by julian; 2006-02-16 at 10:44 PM.
    Julian Ostrow
    Systems and Applications Engineer
    SugarCRM Inc.

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •