Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2006
    Posts
    70
    Plugin Contributions
    0

    Default Why do i see this HEADING_TITLE ?

    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...antastic.co.uk

    Ritchie

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,167
    Plugin Contributions
    0

    Default Re: Why do i see this HEADING_TITLE ?

    Quote Originally Posted by 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...antastic.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

  3. #3
    Join Date
    Jun 2006
    Posts
    70
    Plugin Contributions
    0

    Default Re: Why do i see this HEADING_TITLE ?

    Quote Originally Posted by 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

  4. #4
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,167
    Plugin Contributions
    0

    Default Re: Why do i see this HEADING_TITLE ?

    Quote Originally Posted by 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

  5. #5
    Join Date
    Jun 2006
    Posts
    70
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Jan 2004
    Posts
    58,471
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: Why do i see this HEADING_TITLE ?

    PHP Code:
    } 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jun 2006
    Posts
    70
    Plugin Contributions
    0

    Default Re: Why do i see this HEADING_TITLE ?

    Quote Originally Posted by DrByte
    PHP Code:
    } 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
    <?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.');
    }
    ?>

  8. #8
    Join Date
    Jan 2004
    Posts
    58,471
    Blog Entries
    3
    Plugin Contributions
    111

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jun 2006
    Posts
    70
    Plugin Contributions
    0

    Default Re: Why do i see this HEADING_TITLE ?

    Quote Originally Posted by 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

  10. #10
    Join Date
    Jun 2006
    Posts
    70
    Plugin Contributions
    0

    Default Re: Why do i see this HEADING_TITLE ?

    Quote Originally Posted by 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

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •