hi, thanks very much for the reply, it is much appreciated.
the example i gave seems a bit silly i know.
the reason i require unique page titles is for seo. the majority of my pages on my site do have unique page titles (products, categories..) which i have edited using the custom meta tags function.
i still however needed to edit the top level pages because currently they are displaying the generic template which is bad for seo.
i would appreciate you guiding me through this..
i have located my contact page, it is in the following directory
includes\languages\english
here is the page code
Code:
<?php
/**
* @package languageDefines
* @copyright Copyright 2003-2006 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: contact_us.php 3149 2006-03-10 07:29:34Z birdbrain $
*/
define('HEADING_TITLE', 'Contact Us');
define('NAVBAR_TITLE', 'Contact Us');
define('TEXT_SUCCESS', 'Your message has been successfully sent.');
define('EMAIL_SUBJECT', 'Message from ' . STORE_NAME);
define('ENTRY_NAME', 'Full Name:');
define('ENTRY_EMAIL', 'Email Address:');
define('ENTRY_ENQUIRY', 'Message:');
define('SEND_TO_TEXT','Send Email To:');
define('ENTRY_EMAIL_NAME_CHECK_ERROR','Sorry, is your name correct? Our system requires a minimum of ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters. Please try again.');
define('ENTRY_EMAIL_CONTENT_CHECK_ERROR','Did you forget your message? We would like to hear from you. You can type your comments in the text area below.');
?>
i have added a define title like so..
Code:
<?php
/**
* @package languageDefines
* @copyright Copyright 2003-2006 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: contact_us.php 3149 2006-03-10 07:29:34Z birdbrain $
*/
define('TITLE', 'Contact Us Here');
define('HEADING_TITLE', 'Contact Us');
define('NAVBAR_TITLE', 'Contact Us');
define('TEXT_SUCCESS', 'Your message has been successfully sent.');
define('EMAIL_SUBJECT', 'Message from ' . STORE_NAME);
define('ENTRY_NAME', 'Full Name:');
define('ENTRY_EMAIL', 'Email Address:');
define('ENTRY_ENQUIRY', 'Message:');
define('SEND_TO_TEXT','Send Email To:');
define('ENTRY_EMAIL_NAME_CHECK_ERROR','Sorry, is your name correct? Our system requires a minimum of ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters. Please try again.');
define('ENTRY_EMAIL_CONTENT_CHECK_ERROR','Did you forget your message? We would like to hear from you. You can type your comments in the text area below.');
?>
i have then saved a copy of this contact_us.php file in my custom template folder which is currently includes\languages\english\freefall
i have uploaded everything and the Contact Us page is still taking the generic title stated in my includes\languages\english\freefall\meta_tags.php file.
can you see what i am doing wrong?
Bookmarks