Zen Cart Logo
Forums / General Questions / Why do i see this HEADING_TITLE ?

Why do i see this HEADING_TITLE ?

Locked

Views: 2,600

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
7 Aug 2006, 10:15 PM
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Why do i see this HEADING_TITLE ?

ritchie111:

Why do i see this HEADING_TITLE on the search engines and how do i change it please?
http://search.yahoo.com/search?p=www.crystalglassfantastic.co.uk%2Fshop%2F&ei=UTF-8&vst=0&vs=crystalglassfantastic.co.uk

Ritchie

Thats because you have this line in your index page


<meta name="description" content="CrystalGlassFantastic! : HEADING_TITLE - Big Block Glass Sphere Glass Keyring Glass Pyramid Coloured Glass Other Ornaments Lighting units Small Block Glass Painted deep crystals Crystal, Glass, Block Glass, Pyramid Glass, Glass Spheres, Lasered Glass, United Kingdom" /> ---- Just remove HEADING_TITLE from there
7 Aug 2006, 10:17 PM
#3
ritchie111 avatar

ritchie111

New Zenner

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

Re: Why do i see this HEADING_TITLE ?

superprg:

Thats because you have this line in your index page


<meta name="description" content="CrystalGlassFantastic! : HEADING_TITLE - Big Block Glass Sphere Glass Keyring Glass Pyramid Coloured Glass Other Ornaments Lighting units Small Block Glass Painted deep crystals Crystal, Glass, Block Glass, Pyramid Glass, Glass Spheres, Lasered Glass, United Kingdom" /> ---- Just remove HEADING_TITLE from there

Will it actually have index page? and will it be in my admin panel? or in my database backup?
thanks

7 Aug 2006, 10:47 PM
#4
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Why do i see this HEADING_TITLE ?

ritchie111:

Will it actually have index page? and will it be in my admin panel? or in my database backup?
thanks

See this file
\includes\languages\english\index.php
and let me know the content

8 Aug 2006, 5:00 PM
#5
ritchie111 avatar

ritchie111

New Zenner

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

Re: Why do i see this HEADING_TITLE ?

Here is the index page.
[QUOTE=superprg][QUOTE=ritchie111]Hi m8 thanks for the help
here is what it has in my index i think this is the correct one.
if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
// This section deals with product-listing page contents
define('HEADING_TITLE', 'Available Products');
define('TABLE_HEADING_IMAGE', 'Product Image');
define('TABLE_HEADING_MODEL', 'Model');
define('TABLE_HEADING_PRODUCTS', 'Product Name');
define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
define('TABLE_HEADING_QUANTITY', 'Quantity');
define('TABLE_HEADING_PRICE', 'Price');
define('TABLE_HEADING_WEIGHT', 'Weight');
define('TABLE_HEADING_BUY_NOW', 'Buy Now');
define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
define('TEXT_SHOW', 'Filter Results by:');
define('TEXT_BUY', 'Buy 1 '');
define('TEXT_NOW', '' now');
define('TEXT_ALL_CATEGORIES', 'All Categories');
define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
// This section deals with the "home" page at the top level with no options/products selected
} elseif ($category_depth == 'nested') {
//define('HEADING_TITLE', 'Welcome to CrystalGlassFantastic, Contact us if you have any questions. ');
// This section deals with displaying a subcategory
/Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'/
//define('HEADING_TITLE', 'Welcome to CrystalGlassFantastic, Enjoy your stay. ');
}
?>

Hope this is the correct one :blush:

9 Aug 2006, 12:43 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Why do i see this HEADING_TITLE ?

} elseif ($category_depth == 'nested') {
//define('HEADING_TITLE', 'Welcome to CrystalGlassFantastic, Contact us if you have any questions. ');
// This section deals with displaying a subcategory
/*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
//define('HEADING_TITLE', 'Welcome to CrystalGlassFantastic, Enjoy your stay. '); 

Notice the // before the define('HEADING_TITLE' .........

That's what's causing your problem.

You canNOT cause the title to be "blank" by telling the definition to not happen. Instead, you need to define it to be blank, kinda like this:

define('HEADING_TITLE', '');

You have 2 of those to change.

9 Aug 2006, 1:35 PM
#7
ritchie111 avatar

ritchie111

New Zenner

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

Re: Why do i see this HEADING_TITLE ?

DrByte:

} elseif ($category_depth == 'nested') {
//define('HEADING_TITLE', 'Welcome to CrystalGlassFantastic, Contact us if you have any questions. ');
// This section deals with displaying a subcategory
/Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'/
//define('HEADING_TITLE', 'Welcome to CrystalGlassFantastic, Enjoy your stay. ');

> 
> Notice the // before the define('HEADING_TITLE' ......... 
> 
> That's what's causing your problem.
> 
> You canNOT cause the title to be "blank" by telling the definition to not happen.  Instead, you need to define it to be blank, kinda like this:
> 
> define('HEADING_TITLE', '');
> 
> You have 2 of those to change.
Ok Done that DrByte and its still the same:blush: 
<?php
/**
 * @package languageDefines
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: index.php 3027 2006-02-13 17:15:51Z drbyte $
 */

define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');

// Showcase vs Store
if (STORE_STATUS == '0') {
  define('TEXT_GREETING_GUEST', 'Welcome Guest! Would you like to <a href="%s">log yourself in</a>?');
} else {
  define('TEXT_GREETING_GUEST', 'Welcome, please enjoy my online shop where everything is a bargain and of the highest quality');
}

define('TEXT_GREETING_PERSONAL', 'Hello %s! Would you like to see our <a href="%s">newest additions</a>?');

define('TEXT_INFORMATION', 'Define your main Index page copy here.');

//moved to english
//define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

//define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
//define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
//define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
  // This section deals with product-listing page contents
  define('HEADING_TITLE', 'Available Products');
  define('TABLE_HEADING_IMAGE', 'Product Image');
  define('TABLE_HEADING_MODEL', 'Model');
  define('TABLE_HEADING_PRODUCTS', 'Product Name');
  define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
  define('TABLE_HEADING_QUANTITY', 'Quantity');
  define('TABLE_HEADING_PRICE', 'Price');
  define('TABLE_HEADING_WEIGHT', 'Weight');
  define('TABLE_HEADING_BUY_NOW', 'Buy Now');
  define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
  define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
  define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
  define('TEXT_SHOW', 'Filter Results by:');
  define('TEXT_BUY', 'Buy 1 \'');
  define('TEXT_NOW', '\' now');
  define('TEXT_ALL_CATEGORIES', 'All Categories');
  define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
  // This section deals with the "home" page at the top level with no options/products selected
} elseif ($category_depth == 'nested') {
   define('HEADING_TITLE', 'Welcome to CrystalGlassFantastic. Please feel free to Contact me if you have any questions. ');
// This section deals with displaying a subcategory
  /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
   define('HEADING_TITLE', 'Welcome to CrystalGlassFantastic, Enjoy your stay.'); 
}
?>
9 Aug 2006, 8:34 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Why do i see this HEADING_TITLE ?

which file did you edit:
/includes/languages/english/index.php
or
/includes/languages/english/classic/index.php

If you have one in the classic folder, then that's the one needing updating.

9 Aug 2006, 8:37 PM
#9
ritchie111 avatar

ritchie111

New Zenner

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

Re: Why do i see this HEADING_TITLE ?

DrByte:

which file did you edit:
/includes/languages/english/index.php
or
/includes/languages/english/classic/index.php

If you have one in the classic folder, then that's the one needing updating.

I did this one /includes/languages/english/index.php thats probably why, it was the one i was told it was in earlier in the thread by someone
thanks will let you know how it goes Dr

9 Aug 2006, 8:50 PM
#10
ritchie111 avatar

ritchie111

New Zenner

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

Re: Why do i see this HEADING_TITLE ?

ritchie111:

I did this one /includes/languages/english/index.php thats probably why, it was the one i was told it was in earlier in the thread by someone
thanks will let you know how it goes Dr
Just checked and it was the classic one i did:blush: