Results 1 to 6 of 6

Thread: Unable to change module name...

  1. #1
    djg
    djg is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    42

    Unhappy Unable to change module name...

    I would like to rename the "leads" module

    Using Studio, I modiied the value of "LBL_MODULE_NAME", but this change is not being propagated to the Sugar menu bar. I am running 5.0.0f.

    Can someone from SugarCRm please confirm that this is a bug, or indicate what I need to do to change the name of a module?

    thanks,

    d.

  2. #2
    eNick is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    UK
    Posts
    282

    Default Re: Unable to change module name...

    As the tabs are language dependent, you need to customise the language file for such a change to take place. Renaming the module has no effect on use presentation.

    Assuming version 5.*, from Admin, choose "Rename Tabs" and select the language in which you wish to make the change.

    Save, and then do a quick repair to make the changes take place (Admin->Repair->Quick Repair)

    The changhes cause the creation of the file custom\include\language\<language.php>

    You can amend other elements of the GUI by adding additional elements to this file. ie. locate the source element in \include\<language.php> and copy the element to custom\include\language\<language.php> to override it with something else in an upgrade safe manner.
    Last edited by eNick; 2008-06-25 at 02:52 PM.
    T H E S U G A R R E F I N E R Y
    : : : SugarCrm Customisation and Integration Services : : :

    SugarCRM Systems Integration Partner
    Trusted with SugarCRM
    http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com

  3. #3
    sugarcane is offline Sugar Community Member
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,207

    Default Re: Unable to change module name...

    Hello,

    I tried to update a module name using the 'Rename Tabs' in the Admin section, but there does seem to be a bug. It does not update the module name, and the custom/include/language/en_us.lang.php file does not seem to properly update either.

    If you go into the custom/include/language/en_us.lang.php and set

    $app_list_strings['moduleList']['OLDMODULENAME']='NEWMODULENAME';

    Then go into the admin section and Rebuild extensions, this will sucessfully update the module name
    Intelestream has a great deal of experience hosting and customizing the SugarCRM application. Our company is made up by former employees of SugarCRM, and together we have over 50 years of experience working with the application. To learn more about us, please visit our website at www.intelestream.net or contact us directly at 800-391-4055 or by email at info@intelestream.net

  4. #4
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Unable to change module name...

    Hi,

    Got this fix from Sugar for this issue with 5.0.0d This worked for one of our customers.

    Edit the file "modules/Studio/DropDowns/EditView.tpl"

    Change the code < method='post' action='index.php' name='dropdowns'> <input type='hidden' name='action' value='wizard'> <input type='hidden' name='wizard' value='EditDropDownWizard'> <input type='hidden' name='option' value='EditDropdown'> <input type='hidden' name='module' value='Studio'> {html_options name='dropdown_lang' options=$dropdown_languages selected=$dropdown_lang onchange="document.dropdowns.submit();"} </> to < method='post' action='index.php' name='dropdowns'> <input type='hidden' name='action' value='wizard'> <input type='hidden' name='wizard' value='EditDropDownWizard'> <input type='hidden' name='option' value='EditDropdown'> <input type='hidden' name='module' value='Studio'> <input type='hidden' name='dropdown_name' value='{$dropdown_name}'> {html_options name='dropdown_lang' options=$dropdown_languages selected=$dropdown_lang onchange="document.dropdowns.submit();"} </>

    The change is <input type='hidden' name='dropdown_name' value='{$dropdown_name}'> to that block, this retains the list of field you are looking at.
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  5. #5
    djg
    djg is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    42

    Smile Re: Unable to change module name...

    thanks - that did the trick for me.

    d.

    Quote Originally Posted by eNick
    As the tabs are language dependent, you need to customise the language file for such a change to take place. Renaming the module has no effect on use presentation.

    Assuming version 5.*, from Admin, choose "Rename Tabs" and select the language in which you wish to make the change.

    Save, and then do a quick repair to make the changes take place (Admin->Repair->Quick Repair)

    The changhes cause the creation of the file custom\include\language\<language.php>

    You can amend other elements of the GUI by adding additional elements to this file. ie. locate the source element in \include\<language.php> and copy the element to custom\include\language\<language.php> to override it with something else in an upgrade safe manner.

  6. #6
    djg
    djg is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    42

    Default Re: Unable to change module name...

    thanks are also due to all those who replied.

    d.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 2009-12-08, 08:00 PM
  2. Replies: 6
    Last Post: 2008-06-17, 06:32 AM
  3. Replies: 3
    Last Post: 2008-04-10, 01:40 PM
  4. Unusual Probelm with Custom Module
    By Nisbet in forum Developer Help
    Replies: 3
    Last Post: 2008-03-13, 07:37 PM
  5. Replies: 0
    Last Post: 2006-09-13, 11:04 AM

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
  •