Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2007
    Posts
    410
    Plugin Contributions
    1

    Default <title> my website title !!</title>

    Can any body tell me where to set the title name for my home page and other pages !?

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: <title> my website title !!</title>

    To find the file where any text is defined, look in admin > Tools > Developers Toolkit. Paste a distinctive snippet of the text in the upper left box, select all main language files and search.

    Use this with the current text to find where to change it.

  3. #3
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: <title> my website title !!</title>

    .

    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.

  4. #4
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: <title> my website title !!</title>

    I've edited the meta_tags.php with -

    define('TITLE', 'my_website_name');

    And all of my product pages work fine with the new title displayed in the web browers... except the Main Page (index) still shows - HOME_PAGE_TITLE

    I can't find any other reference for changing this. Can anyone help.
    By the way, I'm using version. 1.3.8

  5. #5
    Join Date
    Dec 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: <title> my website title !!</title>

    Im having the same problem. The solution in the FAQ requires you to know how to program or edit files in your own program then upload them to the server. I have absolutely no idea how to do any of that, so that advice isnt helpful to me.

    I am looking for a way to change my website title from the admin section. There really should be an easier way to do this for non programmers like me.

    Same with the tag line. My template has already been built by my programmer but he didnt do the tagline or set the name for the main page. Im having a difficult time trying to figure this out on my own.

    I wrote about it here: http://www.zen-cart.com/forum/showthread.php?t=82717

  6. #6
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: <title> my website title !!</title>

    Quote Originally Posted by roblw View Post
    I've edited the meta_tags.php with -

    define('TITLE', 'my_website_name');

    And all of my product pages work fine with the new title displayed in the web browers... except the Main Page (index) still shows - HOME_PAGE_TITLE

    I can't find any other reference for changing this. Can anyone help.
    By the way, I'm using version. 1.3.8
    If you're using v1.3.8 and you don't have a spot to define HOME_PAGE_TITLE, then you've not done a thorough upgrade, or you're using files built for an older template.

    The top part of the meta_tags.php language file in v1.3.8 includes these pieces. If yours is missing any or all of them, you need to upgrade the file using the original from v1.3.8 (or whatever version you're running). The following IS NOT the complete file. It's only a reference to show you that you're missing things:
    Code:
    // 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', ''); // usually best left blank
    .

    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 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: <title> my website title !!</title>

    Thanks so much! Yes, that did it.

    When upgrading I kept my 'custom' files as they were from the previous version. I haven't noticed any other problems though, but was wondering if there is a list anywhere that shows the 'include' files that were changed with this newer version? Thanks again!

  8. #8
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: <title> my website title !!</title>

    Quote Originally Posted by roblw View Post
    Thanks so much! Yes, that did it.

    When upgrading I kept my 'custom' files as they were from the previous version. I haven't noticed any other problems though, but was wondering if there is a list anywhere that shows the 'include' files that were changed with this newer version? Thanks again!
    Yes -- there's a lot of information in the /docs/ folder, including a list of all the new features/fixes and the list of changed files.
    .

    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
    Mar 2009
    Location
    Peterborough UK
    Posts
    348
    Plugin Contributions
    0

    Default Re: <title> my website title !!</title>

    Hi
    I can see that this is a old post but am having similar issues. I have tried to amend the home page title,description and meta keywords by altering the :
    /HTDOCS/includes/languages/english/MY_TEMPLATE/meta_tags.php

    The keywords and description have all worked fine but when i alter the title and save the changes the website will not load. So I have taken the title out saved it over and hit refresh on the site. The site loads fine without any page title. When you view the source you can see that the keywords and description have been altered. However if i try to put anything between the title tag the website will not load.

    Here is the meta_tags.php file. i have deleted the page title. If you would like to view the page source then please go to ravsappliances.com
    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', 'ecommerce, open source, shop, online shopping');
    
    // Home Page Only:
      define('HOME_PAGE_META_DESCRIPTION', 'Ravs Appliances bringing you quality 4 less.Shop online for Digital TVs, HDTV, dvd players, microwaves and home appliances discounted prices');
      define('HOME_PAGE_META_KEYWORDS', 'sanyo, microwave, appliances, lcd, Hitachi lcd tv, sale, electricals, lcd , plasma, hitachi camcorder, digital camcorder, hitachi dvd recorder,television, microwave oven, microwave grill, 32');
    
      // 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
    
    
    // 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');
    
    ?>
    thanks

  10. #10
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    348
    Plugin Contributions
    0

    Default Re: <title> my website title !!</title>

    Update
    After fiddling around with the home page title

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

    I have managed to load the page with Ravs Appliances in the title. If i try to add any more characters the page will not show.

    Its a little strange

 

 
Page 1 of 2 12 LastLast

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
  •