Zen Cart Logo
Forums / Basic Configuration / Change Home Page Title - Not Working

Change Home Page Title - Not Working

Locked

Views: 1,320

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 Jul 2010, 2:40 PM
#1
hunny042 avatar

hunny042

New Zenner

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

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

11 Jul 2010, 3:03 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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', '');

11 Jul 2010, 3:12 PM
#3
hunny042 avatar

hunny042

New Zenner

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

Re: Change Home Page Title - Not Working

stevesh:

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');

11 Jul 2010, 3:26 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

11 Jul 2010, 3:34 PM
#5
hunny042 avatar

hunny042

New Zenner

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

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!!!