Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2007
    Posts
    8
    Plugin Contributions
    0

    Default Removing Header_Title

    Hi,

    I've searched the forums to find a fix for removing the HEADER_TITLE off of the front page, but I can't find it anywhere!

    My site: www.allweatherchair.co.uk/shop

    It's on the front page, any help welcome!

    Thanks

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Removing Header_Title

    I see you're using the /classic template. Bad idea. Any changes you make in those files will be overwritten by the next upgrade/update. Please create your own custom template!

    Check in includes/languages/english/YOUR_TEMPLATE/index.php around lines 31, 51 and 55:

    Code:
    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
      /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
      define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
    } elseif ($category_depth == 'nested') {
      // 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', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'); 
    }
    ?>
    If you don't want those literals to appear, simply remove the text and leave the single quotes as shown below:

    Code:
    define('HEADING_TITLE', '');

  3. #3
    Join Date
    Jan 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Removing Header_Title

    OK thanks... I'ev had a look though and can't find the index.php where you've stated it should be...

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Removing Header_Title

    Then look in includes/languages/english/index.php, but you really should create your own custom template. If you make changes to includes/languages/english/index.php, the changes will be overwritten by the next update/upgrade and all your work will be lost.

  5. #5
    Join Date
    Jul 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Removing Header_Title

    Quote Originally Posted by afo View Post
    Then look in includes/languages/english/index.php, but you really should create your own custom template. If you make changes to includes/languages/english/index.php, the changes will be overwritten by the next update/upgrade and all your work will be lost.
    Actually, creating a folder in that area isn't even covered in the create your own custom template tutorial.

    What exactly are you supposed to do in the language folder if you have a custom template?

    Do you then have to point it to that folder somewhere in the program?

    This is the tutorial I used:

    https://www.zen-cart.com/tutorials/i...hp?article=142

    What's missing from this tutorial?

  6. #6
    Join Date
    Jul 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Removing Header_Title

    found it...

    https://www.zen-cart.com/tutorials/index.php?article=36

    Shouldn't these 2 tutorials be combined?

  7. #7
    Join Date
    Jun 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Removing Header_Title

    OKay, would someone mind looking at my site for the same problem? I have followed these steps, but still can't find it as I have already removed that text.

    Thanks in advance.

    www.keepsmeinstitches.com

  8. #8
    Join Date
    Jun 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Removing Header_Title

    Sometimes, it pays to start over with a clean copy. Couldn't find it, but I fixed it. :)

 

 

Similar Threads

  1. HEADER_TITLE problem
    By SethF in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Oct 2011, 05:42 PM
  2. Header_title
    By pooltut in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Mar 2010, 04:44 AM
  3. missing Header_Title file
    By lieven23 in forum Addon Language Packs
    Replies: 0
    Last Post: 22 Aug 2009, 12:08 AM

Posting Permissions

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