Zen Cart Logo

Home_page_title

Locked

Views: 3,191

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
8 Apr 2008, 4:36 AM
#1
tarynhipp avatar

tarynhipp

New Zenner

Join Date:
Jul 2005
Posts:
79
Plugin Contributions:
0

Home_page_title

i attempted to change the title by editing the header.php file but i did something wrong because it now says "HOME_PAGE_TITLE" rather than what i have in there. can someone help?

this is the page: http://chielleshop.com/shop/

8 Apr 2008, 4:43 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Home_page_title

tarynhipp:

i attempted to change the title by editing the header.php file but i did something wrong because it now says "HOME_PAGE_TITLE" rather than what i have in there. can someone help?

this is the page: http://chielleshop.com/shop/

T,
The header.php is the wrong file to edit
ftp the orginal file over
Please read the following to change your problem:

Header Tab Changes:
A. Change Header Tab Wording
1. includes/ languages/ english/ meta_tag.php
2. Line 11 & 14 need to be edited
3. ftp to: includes/ languages/ english/ override folder/ meta_tag.php

13 Apr 2008, 8:37 PM
#3
tarynhipp avatar

tarynhipp

New Zenner

Join Date:
Jul 2005
Posts:
79
Plugin Contributions:
0

Re: Home_page_title

i must have really goofed things up because i still can't seem to repair this simple thing.

13 Apr 2008, 9:00 PM
#4
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

Re: Home_page_title

Show us your header.php page code.

7 May 2008, 7:51 PM
#5
tarynhipp avatar

tarynhipp

New Zenner

Join Date:
Jul 2005
Posts:
79
Plugin Contributions:
0

Re: Home_page_title

*/

// header text in includes/header.php
define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
define('HEADER_TITLE_CHECKOUT', 'Checkout');
define('HEADER_TITLE_TOP', 'Top');
define('HEADER_TITLE_CATALOG', 'Home');
define('HEADER_TITLE_LOGOFF', 'Log Out');
define('HEADER_TITLE_LOGIN', 'Log In');

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
define('HEADER_SALES_TEXT', '');
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');

// header Search Button/Box Search Button
define('HEADER_SEARCH_BUTTON','Search');
define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here');

?>

7 May 2008, 7:57 PM
#6
tarynhipp avatar

tarynhipp

New Zenner

Join Date:
Jul 2005
Posts:
79
Plugin Contributions:
0

Re: Home_page_title

when using the developer's kit to find the title it gives me this result:

/home/tea5ara/public_html/shop/includes/modules/meta_tags.php

Line #100 : define('META_TAG_TITLE', (HOME_PAGE_TITLE != '' ? HOME_PAGE_TITLE : (defined('NAVBAR_TITLE') ? NAVBAR_TITLE . PRIMARY_SECTION : '') . TITLE . TAGLINE));

however, i do not see a line 100 in the meta_taps.php file.

7 May 2008, 9:34 PM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Home_page_title

T,
Please post this file for me..

includes/ languages/ english/ meta_tags.php

  1. use [PHP] in front and the closing tag for this when posting..
  2. easier to read

Are you still using the classic template???????????????

9 May 2008, 4:10 AM
#8
tarynhipp avatar

tarynhipp

New Zenner

Join Date:
Jul 2005
Posts:
79
Plugin Contributions:
0

Re: Home_page_title

<?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 4273 2006-08-26 03:13:52Z drbyte $
 */

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

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

// Custom Keywords
define('CUSTOM_KEYWORDS', 'online shopping');

// 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 divider ... usually just a space or a comma plus a space
  define('METATAGS_DIVIDER', ' ');

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

?>
9 May 2008, 5:10 AM
#9
tarynhipp avatar

tarynhipp

New Zenner

Join Date:
Jul 2005
Posts:
79
Plugin Contributions:
0

Re: Home_page_title

& yes, i believe i'm using classic.

9 May 2008, 12:49 PM
#10
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Home_page_title

T,

Try this:

  1. // Site Tagline
    define('SITE_TAGLINE', '');
  2. change to this:
  3. // Site Tagline
    define('SITE_TAGLINE', '!');
10 May 2008, 7:35 PM
#11
tarynhipp avatar

tarynhipp

New Zenner

Join Date:
Jul 2005
Posts:
79
Plugin Contributions:
0

Re: Home_page_title

that didn't fix it. i'm assuming i changed something somewhere i shouldn't have. is there any other resolution you can see? it seems like an obvious mistake/change but it's really got me stumped.

10 May 2008, 7:42 PM
#12
tarynhipp avatar

tarynhipp

New Zenner

Join Date:
Jul 2005
Posts:
79
Plugin Contributions:
0

Re: Home_page_title

should the metatags.php file be here: /www/shop/includes/modules ?

the developer's tool kit is telling me that's where the problem is.