Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Nov 2008
    Posts
    24
    Plugin Contributions
    0

    Default HOME_PAGE_TITLE so many threads yet no resolution

    hi,
    i have browsed around and found many threads of zenners that ran into this problem, HOW TO DEFINE META TITLE FOR HOME PAGE?

    i'm sorry to be a pain, but i havent overcome this issue.

    first to what i have tried already:

    includes/languages/my_tamplate/meta_tags.php
    *i defined all meta tags for the home page including custom *keywords and site tagline.
    *i tried to add: define('HOME_PAGE_META_TITLE','');
    *i removed it
    *i added <title></title><?php to the very top pf the page. this actually did the job but overwrote the title to the whole website.
    *Per-Page meta-tags

    nothing seems to be working, i still get this HOME_PAGE_TITLE

    please someone advise
    thank you.

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: HOME_PAGE_TITLE so many threads yet no resolution

    Try looking HERE.

    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Nov 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: HOME_PAGE_TITLE so many threads yet no resolution

    thx for the quick reply.
    i checked all the quate marks and didnt spot any error.
    still no resolution.
    any onther suggestions?

    appriciate it

  4. #4
    Join Date
    Nov 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: HOME_PAGE_TITLE so many threads yet no resolution

    my website is www.marketvisit.com
    please have a look in the page source i that helps.

  5. #5
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: HOME_PAGE_TITLE so many threads yet no resolution

    To change the title text to say what you want, open the includes/languages/english/meta_tags.php file in your text editor. Find the following line of code:

    Code:
    define('TITLE', 'Zen Cart!');
    Which, in your case, since it's already been changed, you would look for:

    Code:
    define('TITLE', 'HOME_PAGE_TITLE');
    and change HOME_PAGE_TITLE to you're likeing.

    And since you've got a custom template named "Paul", if that don't change anything, for you, you will need to look for: includes/languages/english/paul/meta_tags.php (which is where it should be).

    Let us know how you get along with that.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  6. #6
    Join Date
    Nov 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: HOME_PAGE_TITLE so many threads yet no resolution

    thanks again,
    but that is the awkward thing here - i dont see define('TITLE', 'HOME_PAGE_TITLE'); and i actually manually added it (as i mentioned) but it did'nt do the job. I add here the page (i excluded the tags)

    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',''); 
    
    // Site Tagline
    define('SITE_TAGLINE', '');
    
    // Custom Keywords
    define('CUSTOM_KEYWORDS','');
    
    // 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('', ''); // 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');

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

    Default Re: HOME_PAGE_TITLE so many threads yet no resolution

    This is your problem!

    Code:
      // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
      define('', ''); // usually best left blank
    It should be

    Code:
      // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
      define('HOME_PAGE_TITLE', ''); // usually best left blank

  8. #8
    Join Date
    Nov 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: HOME_PAGE_TITLE so many threads yet no resolution

    Code:
     // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
      define('HOME_PAGE_TITLE',''); // usually best left blank
    ok, i changed it and that's what I've got at the moment and yet no change...

  9. #9
    Join Date
    Nov 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: HOME_PAGE_TITLE so many threads yet no resolution

    i appriciate yor help but i really tried all the combinations i can come up with and no result

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: HOME_PAGE_TITLE so many threads yet no resolution

    Since your template is named "Paul" (capitalized), you need to name all template folders /Paul/ and not /paul/.

    /includes/languages/english/Paul/meta_tags.php

    This is a good example of why it's standard practice to use all lowercase in folder/filenames, avoiding confusion. Microsoft may have built their operating systems to allow sloppiness, but that doesn't mean everyone else has or should.

    The other important question is where the copy you are editing lives. If there is a file
    /includes/languages/english/Paul/meta_tags.php, then any changes to
    /includes/languages/english/meta_tags.php will be ignored.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Home_page_title
    By mooncavecrystals in forum General Questions
    Replies: 13
    Last Post: 14 Sep 2008, 02:21 AM
  2. Home_page_title
    By ckosloff in forum Upgrading from 1.3.x to 1.3.9
    Replies: 14
    Last Post: 16 Jul 2008, 07:43 PM
  3. Home_page_title
    By tarynhipp in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 10 May 2008, 08:42 PM
  4. Home_page_title
    By petek in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Feb 2008, 04:38 PM

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