Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    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. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    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,482
    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
    9,622
    Plugin Contributions
    123

    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. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Sep 2004
    Posts
    2,420
    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
    9,622
    Plugin Contributions
    123

    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. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: [ToDo v1.6] Customized Title not shown on Admin Home page (ignores template overr

    This bug is fixed in 1.3.9! Thank you, Zen Cart team.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Customized title not shown on home page
    By Servelan in forum General Questions
    Replies: 9
    Last Post: 24 Apr 2011, 07:23 PM
  2. 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
  3. Replies: 0
    Last Post: 5 Sep 2009, 01:22 AM
  4. Admin home page title
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Jan 2009, 07:19 PM
  5. 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR