Results 1 to 7 of 7

Thread: Trouble changing "Create Contact" shortcut under Home module

  1. #1
    mdbusse is offline Senior Member
    Join Date
    Jan 2009
    Posts
    38

    Default Trouble changing "Create Contact" shortcut under Home module

    Let's start with the usual: I'm running Sugar 5.2.0a, on Ubuntu 8.10, Apache 2.2.9, MySQL 5.0.67.

    I'm having a minor problem: we want to replace the word "Contact" with "Customer." I've been able to make this change everywhere except in the Home module: under shortcuts, "Create Contact" remains there.

    I first tried doing this by altering the mod_string value in sugarroot/modules/Home/language/en_us.lang.php.
    'LNK_NEW_CONTACT' => 'Create Customer' is there-but it didn't take.

    I bounced this off a colleague, and he pointed out that what I was doing was not upgrade safe. So now I have the following in sugarroot/custom/Extension/modules/Home/Ext/Language/en.lang.us.php

    <?php
    //Created based on suggestions provided by colleague.
    $mod_strings = array (
    'LNK_NEW_CONTACT' => 'Create Customer'
    );

    ?>

    This doesn't work, either.

    Permissions are as they should be, so I'm at a loss as to why this isn't working. Any suggestions would be welcome.

  2. #2
    RandyLee's Avatar
    RandyLee is offline Sugar Team Member
    Join Date
    Oct 2008
    Posts
    605

    Default Re: Trouble changing "Create Contact" shortcut under Home module


    Better Sugar, Better Life!

  3. #3
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Trouble changing "Create Contact" shortcut under Home module

    Generally change language files in Studio (labels). If the field in question isn't available there go under custom/modules/yourmodule/language/yourcoutrycode.lang.php (e.g. en_uk.lang.php)
    If the directory and/or files do not exist - create them. Run recreate js lang files (under repair)

    The entries on the home screen work on the same way but there is one extra step needed: change your translation in custom/modules/home/...lang.php and then go to cache/modules/Home/language and DELETE ....lang.php. Run a quick repair
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  4. #4
    mdbusse is offline Senior Member
    Join Date
    Jan 2009
    Posts
    38

    Default Re: Trouble changing "Create Contact" shortcut under Home module

    Quote Originally Posted by roblaus View Post
    Generally change language files in Studio (labels). If the field in question isn't available there go under custom/modules/yourmodule/language/yourcoutrycode.lang.php (e.g. en_uk.lang.php)
    If the directory and/or files do not exist - create them. Run recreate js lang files (under repair)

    The entries on the home screen work on the same way but there is one extra step needed: change your translation in custom/modules/home/...lang.php and then go to cache/modules/Home/language and DELETE ....lang.php. Run a quick repair
    That's done the trick.

    I'd thought that running the repair and rebuild cleared the cache, but it looks like I was wrong. I have several other weird problems I think might be caused by similar issues-is there any reason to not just blast everything in the cache?

  5. #5
    mdbusse is offline Senior Member
    Join Date
    Jan 2009
    Posts
    38

    Default Re: Trouble changing "Create Contact" shortcut under Home module

    Quote Originally Posted by RandyLee View Post
    I did-but it looks like cache was causing my problem. I'd already tried the methods you suggested in that thread.

  6. #6
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Trouble changing "Create Contact" shortcut under Home module

    No idea really why this particular piece (and some others) don't get rebuilt. One of the great unsolved mysteries...
    Blasting the entire cache is not a very good idea because on this way you destroy all your uploads (i.e. documents that you attached).
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  7. #7
    mdbusse is offline Senior Member
    Join Date
    Jan 2009
    Posts
    38

    Default Re: Trouble changing "Create Contact" shortcut under Home module

    Quote Originally Posted by roblaus View Post
    No idea really why this particular piece (and some others) don't get rebuilt. One of the great unsolved mysteries...
    Blasting the entire cache is not a very good idea because on this way you destroy all your uploads (i.e. documents that you attached).
    That would be a problem if we had any.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create "Home module" for Custom module
    By shyam007 in forum Developer Help
    Replies: 1
    Last Post: 2009-02-11, 03:20 PM
  2. Replies: 0
    Last Post: 2006-08-24, 01:23 PM
  3. Trouble with "Create account"
    By george_bbch in forum Help
    Replies: 0
    Last Post: 2006-05-11, 06:23 PM
  4. Replies: 4
    Last Post: 2006-02-13, 01:13 PM
  5. Replies: 2
    Last Post: 2005-10-22, 04:47 PM

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
  •