Zen Cart Logo

Page titles

Locked

Views: 1,561

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
17 Jun 2006, 9:06 PM
#1
daphnetree avatar

daphnetree

New Zenner

Join Date:
Jun 2006
Posts:
4
Plugin Contributions:
0

Page titles

I finally figured out how to make all the changes I need to customize my site, but each page still says MEGA_TAG_TITLE how can I change this?. I am very new to this so be gentle with me.

Daphne

17 Jun 2006, 9:31 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Page titles

Do you have a site that we can look at?

17 Jun 2006, 10:22 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Page titles

I'm not sure which version of Zen Cart you are using, and the key area has changed recently, but I'll take a punt ...

Have you changed your meta_tags.php file and specifically the following lines > // page title

define('TITLE', 'Zen Cart!');

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

// Custom Keywords
define('CUSTOM_KEYWORDS', 'ecommerce, open source, shop, online shopping');If so, have you used apostrophe's in the amended descriptions? If so, you need to "escape" them e.g.> define('TITLE', 'Daphne's Shop!');If you haven't changed them in this way, can you post the code that is in this file for the lines shown above.

18 Jun 2006, 12:19 AM
#5
daphnetree avatar

daphnetree

New Zenner

Join Date:
Jun 2006
Posts:
4
Plugin Contributions:
0

Re: Page titles

I am using version 1.3.0 I think
could you tell me where I can find the meta-tags.php file? there seems to be a couple of them. Thanks, Daphne

18 Jun 2006, 6:25 AM
#6
dr_f_ust avatar

dr_f_ust

New Zenner

Join Date:
Jun 2006
Posts:
13
Plugin Contributions:
0

Re: Page titles

look whether there is a file \includes\languages\english\meta_tags.php

18 Jun 2006, 9:01 AM
#7
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Page titles

daphnetree:

I am using version 1.3.0 I think
could you tell me where I can find the meta-tags.php file? there seems to be a couple of them. Thanks, DaphneAs you are using the "Classic" template, the one that you are interested in is /includes/languages/english/classic/meta_tags.php. That quite possibly won't exist. If so, you create it by copying /includes/languages/english/meta_tags.php. If that doesn't exist or is corrupted, it could explain your problem. Otherwise review the copy that you now have in the classic directory to see if it looks OK and if you're not sure post the lines requested above and I'll take a look.

18 Jun 2006, 6:13 PM
#8
daphnetree avatar

daphnetree

New Zenner

Join Date:
Jun 2006
Posts:
4
Plugin Contributions:
0

Re: Page titles

It did not exist in the includes/languages/english/classic so I copied the one from
includes/languages/english but that did not seem to work. I did change the title on that one. Here it is: Thanks so much for your help!

<?php /** * @package languageDefines * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: meta_tags.php 2555 2005-12-13 05:37:01Z drbyte $ */ // page title define('TITLE', 'Eagletree Herbs'); // Site Tagline define('SITE_TAGLINE', 'Quality products since 1974'); // Custom Keywords define('CUSTOM_KEYWORDS', 'herbs, herbal products, mosquito repellent, balms, tinctures, salves, Daphne Singingtree, teas, pregnancy herbs, herbal medicine,'); // Review Page can have a lead in: define('META_TAGS_REVIEW', 'Reviews: '); // separators for meta tag definitions // Define Primary Section Output define('PRIMARY_SECTION', ' : '); // Define Secondary Section Output define('SECONDARY_SECTION', ' - '); // Define Tertiary Section Output define('TERTIARY_SECTION', ', '); // Define which pages to tell robots/spiders not to index // This is generally used for account-management pages or typical SSL pages, and usually doesn't need to be touched. define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit,account_history,account_history_info,account_newsletters,account_notifications,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe'); // favicon setting // There is usually NO need to enable this unless you wish to specify a path and/or a different filename // define('FAVICON','favicon.ico'); ?>
18 Jun 2006, 6:32 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Page titles

NOTE: I would start by upgrading to v1.3.0.1 ... there are several fixes in there that you should have ...

18 Jun 2006, 10:45 PM
#10
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Page titles

The problem isn't just with your META_TAGS_TITLE, it also affects your META_TAGS_DESCRIPTION and META_TAGS_KEYWORDS constant. META_TAGS_TITLE just manifests itself more obviously.

There is nothing obviously wrong with the file that you posted, so I would follow Linda's advice and upgrade to v1.3. Although that has no fixes that specifically relate to this area, there were rather a lots of fixes in it, and with luck one may be causing your problem as a side effect.