kslager Posted February 13, 2005 Share Posted February 13, 2005 Hello, I've done a clean osC install and have STS working fine. I have tried getting it to work with the header tags controller contrib and was completely unsuccessful. Does anyone have these successfully working together? If so, can you post the URL to your store so i can take a look? Maybe you can give me a few pointers. Maybe the exact versions of the contributions would be helpful. I have tried <!--$headcontent--> and $headcontent in head of html template and index.php / product_info.php. Does not produce and errors, but for some reason the <!--$headcontent--> never seems to output anything in STS. Thanks! Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 14, 2005 Share Posted February 14, 2005 I don't use STS but they work together fine. Is it failing in some way for you? 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...
kslager Posted February 14, 2005 Author Share Posted February 14, 2005 i am able to get them both to work fine individually. but when attempting to install them together, STS works, but header tags controller fails. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 14, 2005 Share Posted February 14, 2005 You will need to provide details as to how it fails. Saying it fails doesn't give me anywhere to start. Also, try posting in the STS support thread since there are many there that do this already and may be able to help more. 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...
kslager Posted February 14, 2005 Author Share Posted February 14, 2005 it fails like this... the <title> and <meta> information for all pages comes from the template, not from header tags controller. the problem with this is that every product page in my catalog will have the same title, description, and keywords making it extremely search engine unfriendly. the only diference in pages is in the <body> tags. I know this is vague still. I will set up a clean install later this afternoon and install STS and header tag controller. Maybe you can give me a hand. If youd like to look at my live store, its at www.stagenine.com/catalog/ THANKS! Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 15, 2005 Share Posted February 15, 2005 It appears that, from viewing the source on that page, that header tags is not being used. Be sure that it is enabled in sts_display_output. In fact, you might want to try disabling STS temporairly (set the option in sts_display_output) and see if HTC works. 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...
kslager Posted February 15, 2005 Author Share Posted February 15, 2005 Jack. After uploading a fresh copy and installing STS and HTC, i remembered where i had the problem. I forgot all about this until re-attempting. It came from HTC while making the instructed addition to /includes/application_top.php. the HTC install says to add // BOF: WebMakers.com Added: Header Tags Controller v1.0 require(DIR_WS_FUNCTIONS . 'header_tags.php'); // Clean out HTML comments from ALT tags etc. require(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); // Also used by: WebMakers.com Added: FREE-CALL FOR PRICE // EOF: WebMakers.com Added: Header Tags Controller v1.0 When this is added, the following error occurrs in osC. Fatal error: Cannot redeclare clean_html_comments() (previously declared in /home/stagenin/public_html/catalog/includes/functions/clean_html_comments.php:13) in /home/stagenin/public_html/catalog/includes/functions/clean_html_comments.php on line 13 So.. I skipped this step. More impotantly however, i did not see the variable in sts_display_output.php that turned the header output for HTC on. THANKS VERY MUCH. Problem Solved. Everything works perfectly now. Even with the skipped code in application_top.php http://www.stagenine.com for example. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 15, 2005 Share Posted February 15, 2005 That's great. Glad you got it running. :) 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...
rick24 Posted March 2, 2005 Share Posted March 2, 2005 I also had to comment out that section in application_top to get HTC to work w/ STS.. However, when I go to poodle and run a test..it doesn't show my site as having a description...it comes up w/ "top/Home/SignIn" or the first things on my php file..... could this be because I commented out those statements??? Quote Link to comment Share on other sites More sharing options...
kslager Posted March 2, 2005 Author Share Posted March 2, 2005 hmm i wonder if im having this problem too. what is "poodle" you arent referring to google are you? let me know and ill check to see if im having the same issue. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 2, 2005 Share Posted March 2, 2005 I also had to comment out that section in application_top to get HTC to work w/ STS.. However, when I go to poodle and run a test..it doesn't show my site as having a description...it comes up w/ "top/Home/SignIn" or the first things on my php file..... could this be because I commented out those statements??? <{POST_SNAPBACK}> No, that is just how your site is listed. It could be for a variaety of reasons but not due to the code being commented out. When you comment it out, you are doing so because it was already in there. So you are really just commenting out a duplicate. 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...
rick24 Posted March 2, 2005 Share Posted March 2, 2005 (edited) Thank you, i'l have to keep looking at why the description is not showing ..weird thing is that when i go into the "header-meta view" or "diagnostics view" it shows the meta description in there, but when i imitate a crawl they don't show in the paragraph under the tittle.... kslager: poodle is a webpage where you can imitate a google crawl on demand so you can optimize your website accordingly, google it. Edited March 2, 2005 by rick24 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 2, 2005 Share Posted March 2, 2005 Google doesn't usually use the description tag for that purpose so itis unlikely you will find a reason. 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...
Guest Posted October 20, 2007 Share Posted October 20, 2007 I am having the same problem with the STS and HTC. In the source code of a single page, the Title and the Meta description are used as provided in the HTC-fields from the admin. However, in both Google and the top of the browser the 'default' value is shown. See for example: http://www.pokerspecialist.net/store/index.php?cPath=24 Anyone an idea how to get the last step right? Quote Link to comment Share on other sites More sharing options...
papao_03 Posted March 13, 2008 Share Posted March 13, 2008 anyone got this to work? I tried doing what the previous posts indicate by skipping the code in application_top.php but it still doesn't work. It does work however if i disable sts in admin. hope someone can help Thanks Quote Link to comment Share on other sites More sharing options...
papao_03 Posted March 13, 2008 Share Posted March 13, 2008 (edited) I think it also works in the product info box as it shows the description i entered in the admin part. What doesn't work is the title of the page and meta tags. I tried setting it in admin and checked the source of the site and still empty tags. What's weird is that it works ( I mean the category name and the title appear on the title bar in firefox ) if I include the require(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); require(DIR_WS_FUNCTIONS . 'header_tags.php'); in headers.php and application.php although it doesn't show the whole page it just shows "Fatal error: Cannot redeclare clean_html_comments() (previously declared in C:\wamp\www\includes\functions\clean_html_comments.php:11) in C:\wamp\www\includes\functions\clean_html_comments.php on line 24" but the title bar works. someone know how this works? Edited March 13, 2008 by papao_03 Quote Link to comment Share on other sites More sharing options...
bkellum Posted March 13, 2008 Share Posted March 13, 2008 For anyone who is trying to install STS and HTC together, I have provided a clear step by step that will get you on your way. Click on the link in my signature below regarding STS and HTC. There are some special steps that you need to add and some that you need to skip in order to have them both working together correctly. :thumbsup: Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE 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.
Note: Your post will require moderator approval before it will be visible.