Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2009
    Posts
    51
    Plugin Contributions
    0

    Default Meta_tag_title what is now wrong?

    Hello,
    Top of my browser i have meta_tag_title and trying to change that to something else.
    Tried to use meta_tags.php and readed many answers to similar questions but seems no help for me
    Only if im in admin section it wil read wel Zen Cart! page title,or anything else if i change it,but in my shop page(es) doesnt matter where i click on,wil always be on the top of my browser meta_tag_title

    This is actualy in mine meta_tags.php file
    // page title
    define('TITLE', 'Zen Cart!');

    // Site Tagline
    define('SITE_TAGLINE', 'The Art of E-commerce');


    Im Using 1.3.8 ver
    costum template

    Ty very much

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

    Default Re: Meta_tag_title what is now wrong?

    It's a little hard to say without seeing your site, but look in includes/languages/english/YOUR_TEMPLATE/index.php (where YOUR_TEMPLATE is the name of your custom template) and see what it says for the following lines:

    Code:
    Line #31 : define('HEADING_TITLE', 'Available Products'); 
    
    Line #51 : define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'); 
    
    Line #55 : define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Mar 2009
    Posts
    51
    Plugin Contributions
    0

    Default Re: Meta_tag_title what is now wrong?

    Hello,
    Sorry for late reply ,but here is where the problem was, only i dont know how it can be there

    /includes/templates/template_default/common/html_header.php

    on the line 24

    <title><?php echo META_TAG_TITLE; ?></title>

    Iw changed to title of mine website,tested all working fine til now hehe.
    And my website is www.srpskasportskaprodavnica.com/zen (it wil be some time password protected probably because working on web)
    Ty alot "afo" on reply and trying to help!

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,163
    Plugin Contributions
    11

    Default Re: Meta_tag_title what is now wrong?

    Mambo,
    You have hard-coded out a variable rather than fixing the variable where it is defined.
    Whenever you see UPPERCASE_WITH_UNDERSCORE, it's a variable that should be defined where Mary Ellen said.
    I'd suspect that you lost a single quote (') where the define statement's located.

  5. #5
    Join Date
    Mar 2009
    Posts
    51
    Plugin Contributions
    0

    Default Re: Meta_tag_title what is now wrong?

    Quote Originally Posted by dbltoe View Post
    Mambo,
    You have hard-coded out a variable rather than fixing the variable where it is defined.
    Whenever you see UPPERCASE_WITH_UNDERSCORE, it's a variable that should be defined where Mary Ellen said.
    I'd suspect that you lost a single quote (') where the define statement's located.
    The problem is that real problem isnt solved on good and right way,but could not just ignore that meta_tag_title on my browser,so temporarly solution i have found wil be fixed on good and right way ofc.
    Ty guys!
    Cheers

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

    Default Re: Meta_tag_title what is now wrong?

    I tried to help you by posting where to look, but you chose to ignore me instead of responding.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  7. #7
    Join Date
    Mar 2009
    Posts
    51
    Plugin Contributions
    0

    Default Re: Meta_tag_title what is now wrong?

    Quote Originally Posted by afo View Post
    I tried to help you by posting where to look, but you chose to ignore me instead of responding.
    Afo i didnt ignored you and ofc. dont want to ignore noone special ppl like you who help.
    I just didnt quote your message but second post is mentiod as answer on your reply
    Tried to look there ofc. but nothing.

    And if i miss something,its because im tired like a hell, so if i miss something no offense nothing on purpose!

    Just to know i love Zen and you are great guys,this kind of support is hard to find!
    Cheers

  8. #8
    Join Date
    Jun 2006
    Posts
    223
    Plugin Contributions
    0

    Default Re: Meta_tag_title what is now wrong?

    Quote Originally Posted by afo View Post
    It's a little hard to say without seeing your site, but look in includes/languages/english/YOUR_TEMPLATE/index.php (where YOUR_TEMPLATE is the name of your custom template) and see what it says for the following lines:

    Code:
    Line #31 : define('HEADING_TITLE', 'Available Products'); 
    
    Line #51 : define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.'); 
    
    Line #55 : define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.');
    This file does not contain Meta_tag_title

    Actually if you look at meta_tags.php is does not either

    Somewhere TITLE and SITE_TAGLINE are combined into Meta_Tag_Title but i cannot find it

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

    Default Re: Meta_tag_title what is now wrong?

    Look in includes/modules/meta_tags.php. META_TAG_TITLE is built from various constants depending on the usage. If the constants are improperly built, the result is that the META_TAG_TITLE constant is displayed.

    To find constants like that use admin>tools>developers toolkit
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. 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
  2. Changed The Header, Now Spacing Has Went Wrong In FF
    By DPM in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 13 Jul 2009, 03:20 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR