Zen Cart Logo
Forums / General Questions / Title: TITLE, SITE_TAGLINE

Title: TITLE, SITE_TAGLINE

Locked

Views: 1,253

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Aug 2009, 7:04 PM
#1
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Title: TITLE, SITE_TAGLINE

When I enter my site I am getting the following wording Title:TITLE, SITE_TAGLINE

I have changed everything in my meta tags, but it still won't go away

25 Aug 2009, 7:31 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Title: TITLE, SITE_TAGLINE

In includes/languages/english/YOUR_TEMPLATE/meta_tags.php, you should have definitions for both of those constants:

// page title
define('TITLE', 'Zen Cart!');

// Site Tagline
define('SITE_TAGLINE', 'The Art of E-commerce');

To change the definition, change the text in between the second set of single quotes.

// page title
define('TITLE', 'My Store');

// Site Tagline
define('SITE_TAGLINE', 'hello');

To remove them entirely, remove the text, but leave the single quotes.

// page title
define('TITLE', '');

// Site Tagline
define('SITE_TAGLINE', '');

Never remove the upper case text.

25 Aug 2009, 7:32 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Title: TITLE, SITE_TAGLINE

That means your meta_tags language file is not being read or has PHP errors in it. Basically the define() statements for those values are not being processed, either because they don't exist, they're commented out, the file is damaged, the file is unreadable, or the file doesn't exist. Maybe your text editor has damaged the file and put everything on one line by breaking all the line-endings?

25 Aug 2009, 7:42 PM
#4
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Title: TITLE, SITE_TAGLINE

Thank you both i was able to have it corrected using the advise

27 Aug 2009, 9:29 PM
#5
lynbor avatar

lynbor

New Zenner

Join Date:
Sep 2004
Location:
Iowa
Posts:
93
Plugin Contributions:
0

Re: Title: TITLE, SITE_TAGLINE

I was noticing this on my system. And when I checked the location you mention..

In includes/languages/english/YOUR_TEMPLATE/meta_tags.php, you should have definitions for both of those constants:

I had made those edits when I installed a long time ago, however when I would edit the meta tags for a product it was still showing the default title/tagline for ZenCart..

So to fix it, I copied my edited meta_tags.php file from the template folder and overwrote the same file that was in the parent /english/ folder. That solved the problem.

So for some reason, the templating system was not pulling the meta_tags.php file from my template directory like it should. My template seems to be OK and it is installed according to the admin and other files in that folder are being used instead of their original counter parts in the english folder. It seems that it was only affecting the meta_tags.php file. BTW, I'm using the Gloss Black template. Any ideas why this was happening to me?