Results 1 to 10 of 10

Thread: Page title change

  1. #1
    Shaaa is offline Member
    Join Date
    Oct 2009
    Posts
    5

    Default Page title change

    Hi,

    I am new to SugarCRM... can anyone help me out how to change the title of sugar crm pages.

    i am using the version 5.2.0j. and page titles shows as SugarCRM.

    i had a look on theme header.html file and it is mentioned as "<title>{APP.LBL_BROWSER_TITLE}</title>".

    i could find only one file(cache/jsLanguage/.en_us.js) which has the LBL_BROWSER_TITLE assigned to "SugarCRM - Commercial Open Source CRM".

    can anyone help me regarding this please...

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Page title change

    You need to create an extended application language (custom/Extension/application/Ext/Language/en_us.lang.php) and add into it a code like that:

    PHP Code:
    <?PHP
    $app_strings
    ['LBL_BROWSER_TITLE'] = 'Whatever you want';
    ?>
    Then go to Admin -> Repair -> Rebuild Extensions

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    Shaaa is offline Member
    Join Date
    Oct 2009
    Posts
    5

    Default Re: Page title change

    Hi andopes,

    Thank you for the reply. I did the changes as u mentioned above but still it didn't changed.

    And i found that the current title "SugarCRM" can be change using Admin > System Settings > System Name: text field.

    What i want is simply remove that System Name: option from System Settings and retain my own title for all the pages.

    Pls can you help me to figure this out?.....

  4. #4
    rgtft is offline Senior Member
    Join Date
    Nov 2008
    Location
    East Lansing, MI
    Posts
    41

    Default Re: Page title change

    Quote Originally Posted by andopes View Post
    You need to create an extended application language (custom/Extension/application/Ext/Language/en_us.lang.php) and add into it a code like that:

    PHP Code:
    <?PHP
    $app_strings
    ['LBL_BROWSER_TITLE'] = 'Whatever you want';
    ?>
    Then go to Admin -> Repair -> Rebuild Extensions

    Cheers
    Andopes,

    I did what you said above, but now after rebuilding extensions, I cannot get any Sugar page to come up.

    PHP Code:
    <?PHP
    $app_strings
    ['LBL_BROWSER_TITLE'] = 'MAG - SugarCRM!';
    ?>
    How can I recover from this? Can I delete the /custom/Extension/application/Ext/Language/en_us.lang.php file and manually rebuild the extensions? If so, how do I rebuild extensions without being able to use the Sugar UI?

  5. #5
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Page title change

    You can delete everything in custom\application\Ext\Language to rebuild manually.

  6. #6
    rgtft is offline Senior Member
    Join Date
    Nov 2008
    Location
    East Lansing, MI
    Posts
    41

    Default Re: Page title change

    I deleted the two files (en_us.Administrators.php and en_us.lang.php) from the /custom/Extension/application/Ext/Language directory. No change. Do I need to stop and restart the webserver (Apache)?

  7. #7
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Page title change

    That change you posted didn't look like anything harmful so my guess is that some other change caused the issue. There are a couple of things to try:
    1. Delete everything in cache\modules
    2. Check sugarcrm.log for anything that sticks out
    3. Check php logs
    4. Check for javascript errors
    5. Identify any other changes made before it stopped working

    Hope these help get you on your way!

  8. #8
    rgtft is offline Senior Member
    Join Date
    Nov 2008
    Location
    East Lansing, MI
    Posts
    41

    Default Re: Page title change

    Quote Originally Posted by eggsurplus View Post
    That change you posted didn't look like anything harmful so my guess is that some other change caused the issue. There are a couple of things to try:
    1. Delete everything in cache\modules
    2. Check sugarcrm.log for anything that sticks out
    3. Check php logs
    4. Check for javascript errors
    5. Identify any other changes made before it stopped working

    Hope these help get you on your way!
    The onlyl change was the addition of the en_us.lang.php in the custom/application/Ext/Language/ directory. I rebuilt the extensions and no change. I then changed ownership of the file to be the user and group for the webserver and rebuilt and the /custom/application/Ext/Language/en_us.lang.ext.php file seemed to get corrupted. There was one line of in this code filled with binary garbage just above the closing PHP line in the file. Deleting this bad line returned my system. I'm not sure why this happened after rebuilding my extensions.

    Thank you everyone for your help

  9. #9
    kenspear is offline Junior Member
    Join Date
    Dec 2009
    Posts
    1

    Default Re: Page title change

    I have the same problem and after having followed the instructions, everything no works fine. Thanks so much.

  10. #10
    jvddevine is offline Sugar Community Member
    Join Date
    Sep 2009
    Location
    Cheyenne, WY - USA
    Posts
    18

    Default Re: Page title change

    I was able to successfully set the page title to my custom title by going to Admin \ System Settings. Then inside the User Interface section you will find a text box labeled “System Name:” In that text box I entered my custom title then clicked "Save" of course. It changed the browser title bar and tab title to the way I wanted it. I am maintaining two SugarCRM applications and I needed to be able to differentiate them on my browser.
    Web Design For Day Dreamers
    What is progressing in your existence my canine friend? (a.k.a. Waddup Dawg?)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. change title from localhost to some other title
    By sidh211 in forum Developer Help
    Replies: 3
    Last Post: 2009-09-16, 04:02 PM
  2. Change the page title
    By hasi21 in forum Developer Help
    Replies: 0
    Last Post: 2009-05-12, 10:02 AM
  3. change title of page
    By irozen in forum Help
    Replies: 5
    Last Post: 2006-08-14, 04:29 PM
  4. how to change title of home page
    By parimal008 in forum Help
    Replies: 5
    Last Post: 2006-06-12, 07:29 PM
  5. Dynamic change of the page title
    By george_bbch in forum Help
    Replies: 0
    Last Post: 2006-05-08, 12:33 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
  •