Thread: Home page title

Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Home page title

    Hi,

    This has been puzzling me for sometime now. When I click my home page I get
    'HOME_PAGE_TITLE in the tab (link)

    All other pages show the correct heading in the tab...what am I missing/ done wrong with the home page for it to be different??

    I did a tool kit search and it just came up with this

    Code:
    /home/sites/ampmgraphics.com/public_html/demo/includes/languages/english/meta_tags.php
    
    Line #22 : // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
    
    Line #23 : define('HOME_PAGE_TITLE', 'am:pm graphics'); // usually best left blank
    I took out the ampm bit and left it blank but this didn't work either

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Home page title

    Check that you did not remove the pair of single quotes wgen you edited
    Code:
    Line #23 : define('HOME_PAGE_TITLE', ''); // usually best left blank
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Home page title

    no I left them in..but still nothing changed.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Home page title

    Have you made any other changes in that file, like maybe messed up the TITLE and SITE_TAGLINE parts?

  5. #5
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Home page title

    hm could be possible...

    Heres the code for that page - hope this sheds some light

    Code:
    <?php
    /**
     * @package languageDefines
     * @copyright Copyright 2003-2007 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 6668 2007-08-16 10:05:09Z drbyte $
     */
    
    // page title
    define('TITLE', 'Zen Cart!');
    
    // Site Tagline
    define('SITE_TAGLINE', 'The Art of E-commerce');
    
    // Custom Keywords
    define('CUSTOM_KEYWORDS', 'ecommerce, open source, shop, online shopping');
    
    // Home Page Only:
      define('HOME_PAGE_META_DESCRIPTION', '');
      define('HOME_PAGE_META_KEYWORDS', '');
    
      // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
      define('HOME_PAGE_TITLE', 'am:pm graphics'); // usually best left blank
    
    
    // EZ-Pages meta-tags.  Follow this pattern for all ez-pages for which you desire custom metatags. Replace the # with ezpage id.
    // If you wish to use defaults for any of the 3 items for a given page, simply do not define it. 
    // (ie: the Title tag is best not set, so that site-wide defaults can be used.)
    // repeat pattern as necessary
      define('META_TAG_DESCRIPTION_EZPAGE_#','');
      define('META_TAG_KEYWORDS_EZPAGE_#','');
      define('META_TAG_TITLE_EZPAGE_#', '');
    
    // Per-Page meta-tags. Follow this pattern for individual pages you wish to override. This is useful mainly for additional pages.
    // replace "page_name" with the UPPERCASE name of your main_page= value, such as ABOUT_US or SHIPPINGINFO etc.
    // repeat pattern as necessary
      define('META_TAG_DESCRIPTION_page_name','');
      define('META_TAG_KEYWORDS_PAGE_page_name','');
      define('META_TAG_TITLE_PAGE_page_name', '');
    
    // 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,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check');
    
    
    // favicon setting
    // There is usually NO need to enable this unless you need to specify a path and/or a different filename
    //  define('FAVICON','favicon.ico');
    ?>

    And this is the line I changed

    Code:
      define('HOME_PAGE_TITLE', 'am:pm graphics'); // usually best left blank
    Changed to this

    Code:
      define('HOME_PAGE_TITLE', ''); // usually best left blank

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Home page title

    Looks OK. Might want to remove that file from your override folder and see what happens. If it's fixed, then copy a fresh (stock) copy of the file to the override folder and start over.

  7. #7
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Home page title

    Thanks :)

    Just deleting the over-ride copy has solved it so I have left it for now!

    Many thanks...not sure what that was about!

 

 

Similar Threads

  1. Changing Page Title on Home Page and Categories
    By gws76 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Oct 2010, 07:56 PM
  2. title change error now says meta_tag_title not the home page title
    By mgifts in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 2 Sep 2010, 07:10 AM
  3. Home Page Heading or Title
    By bginn in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Jun 2010, 01:58 AM
  4. Home Page Title Problem
    By doll5272 in forum General Questions
    Replies: 5
    Last Post: 28 Feb 2009, 07:38 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