Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,762
    Plugin Contributions
    162

    Default [Done v1.3.9a] Customized Title not shown on Admin Home page (ignores tpl override)

    Issue:
    Customizing the file
    includes/languages/english/meta_tags.php

    and modifying the TITLE define works fine in the catalog but is not
    reflected in the Admin section.

    Root Cause:
    In admin/includes/languages/english.php, $template_dir not set

    This results in the defaults from includes/languages/english being used, rather than any customizations.

    The workaround is to change admin/includes/languages/english.php just after

    // removed for meta tags
    // page title
    //define('TITLE', 'Zen Cart');

    // include template specific meta tags defines

    to include the code

    // removed for meta tags
    // page title
    //define('TITLE', 'Zen Cart');

    // include template specific meta tags defines
    $template_query = $db->Execute("select template_dir
    from " . TABLE_TEMPLATE_SELECT .
    " where template_language = '0'");
    $template_dir = $template_query->fields['template_dir'];

    This is just a workaround; I'm sure the final fix will be quite different.
    Be sure to back up admin/includes/english/english.php so you can restore it
    when a proper fix is provided.

    Scott
    That Software Guy, Plugin Moderator. Store: http://www.thatsoftwareguy.com/store/
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  2. #2
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,484
    Plugin Contributions
    1

    Default Re: Customized Title not shown on Admin Home page

    BIG thanks for working that one out - wonder why there's no fix yet?

  3. #3
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,484
    Plugin Contributions
    1

    Default Re: Customized Title not shown on Admin Home page

    Quote Originally Posted by kelvyn
    BIG thanks for working that one out - wonder why there's no fix yet?
    Hmm, I just realised that this is also doing this on 1.3.5.
    Have I done something wrong on the upgrade, or is this still not fixed in the code?

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,762
    Plugin Contributions
    162

    Default Re: Customized Title not shown on Admin Home page

    It has not yet been fixed in core code. It has behaved this way for a long time, and it's always aggravated me because I'm the kind of dork who likes to have 27 windows open, so the title is very important to me.

    Here's a nicer presentation of this tip for those who want it:

    http://www.thatsoftwareguy.com/zencart_admin_title.html

    Scott
    That Software Guy, Plugin Moderator. Store: http://www.thatsoftwareguy.com/store/
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  5. #5
    Join Date
    Sep 2004
    Posts
    2,403
    Plugin Contributions
    2

    Default Re: Customized Title not shown on Admin Home page

    Quote Originally Posted by swguy
    It has behaved this way for a long time, and it's always aggravated me because I'm the kind of dork who likes to have 27 windows open, so the title is very important to me.

    Here's a nicer presentation of this tip for those who want it:
    http://www.thatsoftwareguy.com/zencart_admin_title.html
    Scott I'm with you on this ;-) Can you confirm if your fixes above work well in 1.35x?

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,762
    Plugin Contributions
    162

    Default Re: Customized Title not shown on Admin Home page

    Works like a champ! In fact, I just updated my page to indicate that this fix is required in 1.3.0-1.3.5.

    Scott
    That Software Guy, Plugin Moderator. Store: http://www.thatsoftwareguy.com/store/
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,762
    Plugin Contributions
    162

    Default Re: Customized Title not shown on Admin Home page

    My fix is still required in 1.3.6. I have updated my documentation to reflect this.

    http://www.thatsoftwareguy.com/zencart_admin_title.html

    Scott
    That Software Guy, Plugin Moderator. Store: http://www.thatsoftwareguy.com/store/
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,151
    Plugin Contributions
    0

    Default Re: Customized Title not shown on Admin Home page

    I found that in v1.3.6 I was able to change the Admin Title with just one change.

    admin/includes/languages/english.php

    line 40
    // removed for meta tags
    // page title
    define('TITLE', 'Admin - Name of Site);

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,762
    Plugin Contributions
    162

    Default Re: Customized Title not shown on Admin Home page (ignores template override)

    This works but it could be confusing if you have overriden this file. Other changes you make in the core file (but not your override) would not be picked up.

    Scott
    That Software Guy, Plugin Moderator. Store: http://www.thatsoftwareguy.com/store/
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  10. #10
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,151
    Plugin Contributions
    0

    Default Re: Customized Title not shown on Admin Home page (ignores template override)

    Template overrides are being used so not sure what you mean by "if you have overriden this file"?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. title change error now says meta_tag_title not the home page title
    By mgifts in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 2 Sep 2010, 07:10 AM
  2. home page customized!!
    By starry89 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Aug 2009, 05:48 PM
  3. Admin home page title
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Jan 2009, 07:19 PM
  4. admin home page, can this be customized?
    By dhcernese in forum Basic Configuration
    Replies: 1
    Last Post: 30 Oct 2007, 01:26 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
  •