Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2010
    Location
    Key West, FL
    Posts
    3
    Plugin Contributions
    0

    help question Change Home Page Title - Not Working

    I installed Zen Cart (v.1.3.9) for the first time a few days ago and am using a pre-formatted template that I purchased (theme367). I have checked all the forums for "how to update meta tags on the home page" so that my page title and tag line appear as my own (and not "Zen Cart! The art of e-commerce").

    I edited the meta_tags.php file from this directory: /includes/languages/english

    and saved it here: /includes/languages/english/theme367

    But when I uploaded it through FTP and refreshed my browser, the title and tag line now read: "TITLETERTIARY_SECTIONSITE_TAGLINE" and I don't see any of the keywords or text I added in the source code.

    Any help would be appreciated as every forum seems to say I am doing this correctly. You can view my source code here: http://www.fromkeywest.com

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Change Home Page Title - Not Working

    That's the right folder, but I'd guess you didn't do the edit right, as what you're seeing are the define names. That means Zencart can't find a value specified for that define name.

    Here's what the 'title' define in meta_tags.php should look like after editing:

    // page title
    define('TITLE', 'From Key West!');


    and if you want a define to be empty, you can't just remove the define statement - you remove the text between the single quotes:

    // page title
    define('TITLE', '');
    Last edited by stevesh; 11 Jul 2010 at 04:09 PM.

  3. #3
    Join Date
    Jul 2010
    Location
    Key West, FL
    Posts
    3
    Plugin Contributions
    0

    Default Re: Change Home Page Title - Not Working

    Quote Originally Posted by stevesh View Post
    That's the right folder, but I'd guess you didn't do the edit right, as what you're seeing are the define names. That means Zencart can't find a value specified for that define name.

    Here's what the 'title' define in meta_tags.php should look like after editing:

    // page title
    define('TITLE', 'From Key West!');


    and if you want a define to be empty, you can't just remove the define statement - you remove the text between the single quotes:

    // page title
    define('TITLE', '');
    This is what I entered. The text seems to be fine. Not sure what the problem is unless it is a configuration issue with the template I purchased:

    // page title
    define('TITLE', 'From Key West!');

    // Site Tagline
    define('SITE_TAGLINE', 'Shop Key West');

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Change Home Page Title - Not Working

    Another possibility would be that file isn't being read properly. Did you use a text editor to edit it, or something like Dreamweaver ? If the latter, check the end of the file for extra lines or spaces after the last PHP statement. It also may have been corrupted during upload, but I'd guess you tried more than once.

  5. #5
    Join Date
    Jul 2010
    Location
    Key West, FL
    Posts
    3
    Plugin Contributions
    0

    Default Re: Change Home Page Title - Not Working

    I was editing in Dreamweaver, so I tried TextEditor (Mac) instead and you were right Totally Zenned. Dreamweaver adds extra spaces somewhere in the document (still not sure where). I'll use TextEditor from now on.

    Thanks!!!

 

 

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. home page title not updating
    By littlehawk in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Nov 2009, 10:30 AM
  4. how to change home page title?
    By photogold in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Nov 2008, 06:22 PM
  5. Web Page title not working?
    By lj111970 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 31 Dec 2007, 07:14 PM

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