marcoren Posted April 13, 2005 Share Posted April 13, 2005 There's obviously a file I haven't installed, I just can't figure out which one. On my product_info page, most of the data comes out but the title says this: <title>Acura CL 1997 - Wholesale Candy for Retail Customers</title> Wholesage Candy for Retail Customers??? Where is that? Quote Link to comment Share on other sites More sharing options...
mwgsr Posted April 13, 2005 Share Posted April 13, 2005 There's obviously a file I haven't installed, I just can't figure out which one. On my product_info page, most of the data comes out but the title says this: <title>Acura CL 1997 - Wholesale Candy for Retail Customers</title> Wholesage Candy for Retail Customers??? Where is that? <{POST_SNAPBACK}> includes/header_tags.php on line 185 if (empty($the_product_info['products_head_title_tag'])) { $tags_array['title']= HEAD_TITLE_TAG_ALL; } else { if ( HTTA_PRODUCT_INFO_ON=='1' ) { $tags_array['title']= clean_html_comments($the_product_info['products_head_title_tag']) . HEAD_TITLE_TAG_ALL; } else { $tags_array['title']= clean_html_comments($the_product_info['products_head_title_tag'] . ' - Wholesale Candy for Retail Customers'); } } Quote Link to comment Share on other sites More sharing options...
marcoren Posted April 13, 2005 Share Posted April 13, 2005 I'm a moron. With the issues I was encountering with STS, I had commented the inclusion of header_tags.php and was getting the defaults on everythuing. Thanx for all the help. For others, if your seeing "wholesale candy", your getting the defaults and you need to determine what fields are not configured in your includes/header_tags.php that is preventing you from getting the desired results. Quote Link to comment Share on other sites More sharing options...
marcoren Posted April 13, 2005 Share Posted April 13, 2005 Jack, Is there a pre-defined field in this to include all categories in the title and meta-tags similar to the way breadcrumbs handles it? If my user has scrolled down 3 levels, I'd like all 3 levels to be part of the page. Thank you, Marc Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2005 Share Posted April 14, 2005 Hi All, I've ben beating my brains on a problem I'm getting and I have 2 identical modified stores and all is fine on one store but the other in product attribures I can add the first one just fine but when I try to add a second one I receive this warning: Fatal error: Cannot redeclare tep_get_products_head_title_tag() (previously declared in /home/gtrmall/public_html/steelesenterprises/admin/includes/functions/general.php:530) in /home/admin/includes/functions/general.php on line 530 I've even copied the entire files minus just the config files from my store that's working, copied over to this store and I still have the same result :( It's probally something simple, but I just can't see it, maybe someone can lead me in the right direction. Thanks, James Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 14, 2005 Share Posted April 14, 2005 Jack, Is there a pre-defined field in this to include all categories in the title and meta-tags similar to the way breadcrumbs handles it? If my user has scrolled down 3 levels, I'd like all 3 levels to be part of the page. Thank you, Marc <{POST_SNAPBACK}> No, there's no such option as that would be counter-productive for SEO. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
DNA10101010 Posted April 14, 2005 Share Posted April 14, 2005 The manufacturer page header disappear all in a sudden. It was working fine. The page title header and Navi bar is still working fine. All other sub-category, product_info, even new product page all working perfect. Here is part of the source of the page: !-- information_eof //--> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><h1></h1></td> <td align="right"><img src="images/AEM.jpg" border="0" alt="Let's See What We Have Here" title=" Let's See What We Have Here " width="209.23076923077" height="60"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2" class="productListing"> <tr> <td class="productListing-heading"> <a href="http://www.xxxxxxxx.com/catalog/index.php?manufacturers_id=10&page=1&sort=1a" title="Sort products ascendingly by Model" class="productListing-heading">Model</a> </td> <td class="productListing-heading"> <a href="http://www.xxxxxxxxx.com/catalog/index.php?manufacturers_id=10&page=1&sort=2d" title="Sort products descendingly by Product Name" class="productListing-heading">Product Name+</a> </td> <td align="center" class="productListing-heading"> </td> <td align="right" class="productListing-heading"> <a href="http://www.xxxxxxxxx.com/catalog/index.php?manufacturers_id=10&page=1&sort=4a" title="Sort products ascendingly by Price" class="productListing-heading">Price</a> </td> <td align="center" class="productListing-heading"> Buy Now </td> </tr> As u see, <h1></h1>, what could cost that and only happen to manufacturer? I double checked all code even installed (tried both 2.4.4 and 2.4.5) it again, but still no good. Any idea?? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2005 Share Posted April 14, 2005 Hi All, I've ben beating my brains on a problem I'm getting and I have 2 identical modified stores and all is fine on one store but the other in product attribures I can add the first one just fine but when I try to add a second one I receive this warning:CODEFatal error: Cannot redeclare tep_get_products_head_title_tag() (previously declared in /home/gtrmall/public_html/steelesenterprises/admin/includes/functions/general.php:530) in /home/admin/includes/functions/general.php on line 530 Well, this problem does exsist in both of my stores, I have no problem adding 1 Product Attribute, but when I try to add a second one, even if it's on a different product, I receive the error. Thanks, James Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2005 Share Posted April 14, 2005 Hi All, Sorry for the earlier post, I finaly found my problem, Was doing a compare and mege on the admin/includes/functions/general.php file and I put the code in... But I finally realized I put it in the wrong place! All's working well again, Sorry for bothering anyone, and thanks For your GREAT work on this contrib Jack! Regards, James Quote Link to comment Share on other sites More sharing options...
Stevis2002 Posted April 14, 2005 Share Posted April 14, 2005 Anybody know how to switch the appearance of the first 2 defines, so it says <name of store><category> in title bar, instead of <category><name of store>? Thanks, Steve Quote Link to comment Share on other sites More sharing options...
marcoren Posted April 14, 2005 Share Posted April 14, 2005 Is anybody using this contrib with SEO sitemap? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 14, 2005 Share Posted April 14, 2005 Anybody know how to switch the appearance of the first 2 defines, so it says <name of store><category> in title bar, instead of <category><name of store>?Thanks, Steve <{POST_SNAPBACK}> You need to edit the code in includes/header_tags.php for the page you want changed. For example, change $tags_array['title']= HEAD_TITLE_TAG_SPECIALS . ' ' . HEAD_TITLE_TAG_ALL; to this $tags_array['title']= HEAD_TITLE_TAG_ALL . ' ' . HEAD_TITLE_TAG_SPECIALS; Doing so will hurt you with the SE's though. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 14, 2005 Share Posted April 14, 2005 Is anybody using this contrib with SEO sitemap? <{POST_SNAPBACK}> I don't use the two personally but I have installed them both for other members on several sites. They work fine together. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
marcoren Posted April 15, 2005 Share Posted April 15, 2005 I don't use the two personally but I have installed them both for other members on several sites. They work fine together. Jack <{POST_SNAPBACK}> Jack, What do you use? Everything I've read implies you need this for SEO. Are you suggesting differently or perhaps handling this with something else? Marc Quote Link to comment Share on other sites More sharing options...
Stevis2002 Posted April 15, 2005 Share Posted April 15, 2005 You need to edit the code in includes/header_tags.php for the page you want changed. For example, change ? $tags_array['title']= HEAD_TITLE_TAG_SPECIALS . ' ' . HEAD_TITLE_TAG_ALL; to this ? $tags_array['title']= HEAD_TITLE_TAG_ALL . ' ' . HEAD_TITLE_TAG_SPECIALS; Doing so will hurt you with the SE's though. Jack <{POST_SNAPBACK}> How will it hurt? Jus tcurious as i kno s**t all about seo's or search engines :thumbsup: Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 15, 2005 Share Posted April 15, 2005 Jack, What do you use? Everything I've read implies you need this for SEO. Are you suggesting differently or perhaps handling this with something else? Marc <{POST_SNAPBACK}> What I meant to say was that I don't use the two together personally. I use Header Tags and have top ten placements for several keywords on two sites so there is no need for the SEO Sitemap for me. You definately need Header Tags. It will make all of the difference with the SE's if setup properly. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
marcoren Posted April 15, 2005 Share Posted April 15, 2005 (edited) What I meant to say was that I don't use the two together personally. I use Header Tags and have top ten placements for several keywords on two sites so there is no need for the SEO Sitemap for me. You definately need Header Tags. It will make all of the difference with the SE's if setup properly. Jack <{POST_SNAPBACK}> I see, thank you. I've been reading a lot about this and everything implies I need a sitemap, obviously, you feel differently. Search Engines are such a mystery, it seems like everyone's got a different idea of the best way to handle this. I've already implemented the header tags contrib. My sites not live yet; I'm working out what I need to do for placement. What tools do you use for evaluating the header tags after implementation? I use gorankcom and seochat's tools for comparing my site to some competitors. The problem I'm seeing is that these tools only focus on a few things. The sites i'm comparing vary greatly in how they rate from these tools. Do you have any other reccomendations? Edited April 15, 2005 by marcoren Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 15, 2005 Share Posted April 15, 2005 How will it hurt?Jus tcurious as i kno s**t all about seo's or search engines :thumbsup: <{POST_SNAPBACK}> The purpose of Header Tags is to help optimize your pages for the search engines. If you could only change one item on your page to help with the SE's, it would be the page title. That is the first thing the SE's see when they visit and it carries a lot of weight with them. The idea is to begin the title with your keyword. Let's asume you are selling fish. If your title is fish - mywebsite.com, the SE's will note that fish is the most important word of your page. It it is mysite.com - fish, they note that mysite.com is the most important word. Now, if someone does a search on fish, the first entry will come in higher than the second because it is more relevant to the searched for word. So by switching the code as you mentioned, your page will become less relevant and cost you a better placement in the search engine listings (asuming your site title is not your keyword). Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Stevis2002 Posted April 15, 2005 Share Posted April 15, 2005 The purpose of Header Tags is to help optimize your pages for the search engines. If you could only change one item on your page to help with the SE's, it would be the page title. That is the first thing the SE's see when they visit and it carries a lot of weight with them. The idea is to begin the title with your keyword. Let's asume you are selling fish. If your title is fish - mywebsite.com, the SE's will note that fish is the most important word of your page. It it is mysite.com - fish, they note that mysite.com is the most important word. Now, if someone does a search on fish, the first entry will come in higher than the second because it is more relevant to the searched for word. So by switching the code as you mentioned, your page will become less relevant and cost you a better placement in the search engine listings (asuming your site title is not your keyword). Jack <{POST_SNAPBACK}> Ok, many thanks for taking the time to educate me! lol On the home, it just states my store name (tag 2), as there isn't a defined category. If i define a default tag for it, then all pages seem to start with it. Is there a way around this so that it only displays the first tag, on the first page (index.php)? Have i done something wrong somewhere? Thanks again, Steve Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 16, 2005 Share Posted April 16, 2005 I see, thank you. I've been reading a lot about this and everything implies I need a sitemap, obviously, you feel differently. Search Engines are such a mystery, it seems like everyone's got a different idea of the best way to handle this. I've already implemented the header tags contrib. My sites not live yet; I'm working out what I need to do for placement. What tools do you use for evaluating the header tags after implementation? I use gorankcom and seochat's tools for comparing my site to some competitors. The problem I'm seeing is that these tools only focus on a few things. The sites i'm comparing vary greatly in how they rate from these tools. Do you have any other reccomendations? <{POST_SNAPBACK}> No, you misunderstood. I strongly agree that you need a sitemap. In fact, there is a standard sitemap and an seo sitemap contribution. I always suggest to people to install them both. I just use them because I don't need them. If my index position falls, they will be installed right away. I've never seen one tool that will do a good job of checking a site for SEO purposes and I doubt one exists. That is becuase much of it has to be evaluated as a whole and the tools aren't written to do that. The best way is to just to start learning. Read through the threads on SEO Chat and apply what you learn. Do a search of these forums since SEO tichniques have been discussed many times. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 16, 2005 Share Posted April 16, 2005 Ok, many thanks for taking the time to educate me! lolOn the home, it just states my store name (tag 2), as there isn't a defined category. If i define a default tag for it, then all pages seem to start with it. Is there a way around this so that it only displays the first tag, on the first page (index.php)? Have i done something wrong somewhere? Thanks again, Steve <{POST_SNAPBACK}> I don't think I follow what you are describing. Out of the box, header Tags will provide unique titels to your index page and all of your product pages. They won't be the ideal titles but better than what you had before most likely. If you have a page, like Contact Us, then you will need to add code to the header tags files before you will see a unique title for it. If you have the latest version installed, you can add that code via the admin panel. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
moonbeam Posted April 16, 2005 Share Posted April 16, 2005 Oh my, I need some help. Last night everything was working fine. I check out my store today and I get this error? Parse error: parse error, unexpected T_STRING in /www/g/xxxxxxxx/htdocs/includes/header_tags.php on line 76 My admin works but when I try to see the store I only get that error. Please help, somebody...anybody???!!! Quote "Woohoo, Just Havin Funnn!" Link to comment Share on other sites More sharing options...
moonbeam Posted April 16, 2005 Share Posted April 16, 2005 Oh my, I need some help. Last night everything was working fine. I check out my store today and I get this error? Parse error: parse error, unexpected T_STRING in /www/g/xxxxxxxx/htdocs/includes/header_tags.php on line 76 My admin works but when I try to see the store I only get that error. Please help, somebody...anybody???!!! <{POST_SNAPBACK}> ***update*** I replaced the header_tags php. with a clean upload and lost the error. So, I don't know what was wrong but it is fixed for now. Quote "Woohoo, Just Havin Funnn!" Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 16, 2005 Share Posted April 16, 2005 For future reference, that error usually means a typo was made in the listed file. So you may have edited the text and added an extra quote or something like that. If you load the file into an editor and look at line 76, in this case, it should take you right to the error. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
moonbeam Posted April 16, 2005 Share Posted April 16, 2005 For future reference, that error usually means a typo was made in the listed file. So you may have edited the text and added an extra quote or something like that. If you load the file into an editor and look at line 76, in this case, it should take you right to the error. Jack <{POST_SNAPBACK}> Jack, Thankyou for the advise. I just installed the contribution last night. I don't understand how I could have changed the php. It was and is a fresh install from the contribution. I looked at the line in an editor prior to posting my question. However, I didn't see the problem. The only thing I can imagine is in trying to edit header tags in my admin something went wrong there. In my admin at the header tags text control I try to edit the default settings but they just revert right back. Why can't I edit these fields? Is there definitions posted somewhere to explain what pages should have the controller and which ones should not. Thanks again, Moon Quote "Woohoo, Just Havin Funnn!" Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.