GemRock Posted October 27, 2008 Author Share Posted October 27, 2008 i dont think i understand your question. there is a comma there (Cylinders, Copper ), or maybe show me what it should look like? Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
No1Son Posted October 27, 2008 Share Posted October 27, 2008 i dont think i understand your question. there is a comma there (Cylinders, Copper ), or maybe show me what it should look like? Ken sorry ken trust me to have the most complicated web sites in the world ..lol with the origanal code. <meta name="description" content="<?php echo strip_tags($breadcrumb_tags->trail_tags(' ')); ?>"> <meta name="keywords" content="<?php echo strip_tags($breadcrumb_tags->trail_tags(', ')); ?>"> every thing seems to be fine untill you go down 4 layers and then when the product is on the 4 the layer down it seems to miss the comma or space.. layer 1 all ok) http://lpssupplies.com/underfloor-heating-systems-c-218.html <meta name="description" content="Underfloor Heating Systems"> <meta name="keywords" content="Underfloor Heating Systems"> layer 2 all ok) http://lpssupplies.com/underfloor-heating-...-c-218_219.html <meta name="description" content="Underfloor Heating Systems Electric Underfloor"> <meta name="keywords" content="Underfloor Heating Systems, Electric Underfloor"> layer 3 all ok) http://lpssupplies.com/electric-underfloor...18_219_123.html <meta name="description" content="Underfloor Heating Systems Electric Underfloor Underfloor Heating Controllers"> <meta name="keywords" content="Underfloor Heating Systems, Electric Underfloor, Underfloor Heating Controllers"> layer 4 goes wrong for some reason ?? ) http://lpssupplies.com/digistat-p-1513.html <meta name="description" content="Digi-StatUnderfloor Heating Systems Electric Underfloor Underfloor Heating Controllers"> <meta name="keywords" content="Digi-StatUnderfloor Heating Systems, Electric Underfloor, Underfloor Heating Controllers"> sorry if i have not explained myself correctly.. Mike Quote Link to comment Share on other sites More sharing options...
GemRock Posted October 27, 2008 Author Share Posted October 27, 2008 layer 4 is the product_info.php, whereas the other 3 layers are index.php. would this give you some hints? as you did not say which file the meta tags code was from. Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
No1Son Posted October 27, 2008 Share Posted October 27, 2008 layer 4 is the product_info.php, whereas the other 3 layers are index.php. would this give you some hints? as you did not say which file the meta tags code was from. Ken Ken your a star from a far! Many thanks once again for the pointers, Mike Quote Link to comment Share on other sites More sharing options...
Guest Posted October 27, 2008 Share Posted October 27, 2008 it should only take you one minute (far from your whole life) to sort this out if you read the instructions another time with a bit more care perhaps :) : you forgot to upload one language file to the server or you uploaded it to the wrong place. Good Night & Good Luck! Ken Thanks i worked that a short while after i made the post. Nick Quote Link to comment Share on other sites More sharing options...
GemRock Posted December 5, 2008 Author Share Posted December 5, 2008 I have just released a new version of this contribution (v4.00) that adds the ability to edit header tags for categories. Please go to: http://addons.oscommerce.com/info/4822 or download directly from here Your feedback is welcome! Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
GemRock Posted December 6, 2008 Author Share Posted December 6, 2008 a separated installation guide for version 4.00 has been uploaded. you can get it from the same location where you got the contribution from. Enjoy! Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
pedro.antunes Posted December 6, 2008 Share Posted December 6, 2008 (edited) I have just released a new version of this contribution (v4.00) that adds the ability to edit header tags for categories. Please go to: http://addons.oscommerce.com/info/4822or download directly from here Your feedback is welcome! Ken Hi, Thanks for developing this great addon. I have just installed v4 from scratch and I have just a few comments: 1. for some reason, the line require(DIR_WS_INCLUDES . 'column_left.php'); is commented on the 2 admin files: header_tags_category_edit.php and header_tags_edit.php 2. The title tag in index.php is appearing like " - SHOP NAME" instead of just "SHOP NAME". I changed the file from <title><?php echo $header_tags[title_tag]; ?></title> to: <title><?php if ($title_home_default == "") { echo (strlen($title_tag) > 1) ? $title_tag . ' - ' . TITLE : TITLE; } else { echo (strlen($title_tag) > 1) ? $title_tag . ' - ' . TITLE : $title_home_default . ' - ' . TITLE; } ?></title> I have not tried the manual editing of Meta Tags yet. Br Pedro Edited December 6, 2008 by pedro.antunes Quote Link to comment Share on other sites More sharing options...
GemRock Posted December 7, 2008 Author Share Posted December 7, 2008 Hi Pedro Thanks for raising this issue. :thumbsup: There seems to be one line of code missing: $title_home_default = STORE_NAME; which should be added to the code below (if you want your shop's name appears in the title): //default keywords for the index (home) page $kws_home_default .= STORE_NAME; //default Description for the index (home) page $desc_home_default = "ENTER YOUR DEFAULT DESCRIPTION TAG TEXT HERE FOR THE HOME PAGE"; If you don't want the shop name in the title, then your mod works. Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
GemRock Posted December 7, 2008 Author Share Posted December 7, 2008 Just checked my files, in fact the code should be like this: //default title tag for the index (home) page $title_home_default = 'ENTER YOUR DEFAULT TITLE TEXT HERE'; //default keywords for the index (home) page $kws_home_default .= STORE_NAME; //default Description for the index (home) page $desc_home_default = "ENTER YOUR DEFAULT DESCRIPTION TAG TEXT HERE FOR THE HOME PAGE"; which should replace the block of code mentioned in my above post. Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
GemRock Posted December 7, 2008 Author Share Posted December 7, 2008 have just uploaded a revised installation guide. Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
GemRock Posted December 7, 2008 Author Share Posted December 7, 2008 ...for some reason, the line require(DIR_WS_INCLUDES . 'column_left.php'); is commented ... Hi Pedro This is a 'screen estate usage' issue: if you are using a wide screen display, which i believe many people don't, then you can uncommented that line of code as mentioned in your post, although there is no need to, because you dont need the left column be there when entering or editing header tags. The Back button at the bottom would take you back to the Categories/Products page with the left column shown. Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
pedro.antunes Posted December 7, 2008 Share Posted December 7, 2008 Hi Pedro This is a 'screen estate usage' issue: if you are using a wide screen display, which i believe many people don't, then you can uncommented that line of code as mentioned in your post, although there is no need to, because you dont need the left column be there when entering or editing header tags. The Back button at the bottom would take you back to the Categories/Products page with the left column shown. Ken Hi Ken, You are right, I'm not using a wide screen display so I have to scrool right to see the entire pages. But even if I dont have the left column I still have the space for it and I still need to scrool right. Thanks anyway. br Pedro Quote Link to comment Share on other sites More sharing options...
GemRock Posted December 7, 2008 Author Share Posted December 7, 2008 ...But even if I dont have the left column I still have the space for it and I still need to scrool right... Hi Pedro As shown in the screenshots that are included in the contribution and taken on a 1024 by 768 px display, there should not be a vertical scrollbar there unless on a 800 by 600px display which I believe not many people are using nowadays but if you are one of the few then sorry for the inconvenience - you may change or define the width of the 4 <td> to fit into yours. Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
GemRock Posted December 7, 2008 Author Share Posted December 7, 2008 further to my post above, did you change the width of the left column, ie, in the line just above the "require left column php"? it'd read: <td width="1" valign="top"><table border="0" width="1" cellspacing="1" cellpadding="1"> Note that the width has been set to 1px so there'd not be space on the left. Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
GemRock Posted December 7, 2008 Author Share Posted December 7, 2008 ...there should not be a vertical scrollbar... should read 'there should not be a horizontal scrollbar'. Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
pedro.antunes Posted December 7, 2008 Share Posted December 7, 2008 (edited) should read 'there should not be a horizontal scrollbar'. Ken Hi Ken, I don't think that is an issue, at least for me, since I use your addon for my personal shop... But I figured out how to fix it. I changed this: echo "<td class=\"smallText\" align=\"center\"><input type=\"text\" size=\"60\" name=\"desc_tag_new[".$categories[$i]['id']."]\" value=\"".$categories[$i]['desc']."\"></td>\n"; into this: echo "<td class=\"smallText\" align=\"center\"><input type=\"text\" size=\"50\" name=\"desc_tag_new[".$categories[$i]['id']."]\" value=\"".$categories[$i]['desc']."\"></td>\n"; and it now fits and doesn't mess with the layout. I had the this issue because I changed the width of the left column to 165px (fixed) in the CSS file in order to fit some long names without splitting the lines in 2 (there are still some but I don't want the left column to take half the screen :D). br, Pedro Edited December 7, 2008 by pedro.antunes Quote Link to comment Share on other sites More sharing options...
GemRock Posted December 8, 2008 Author Share Posted December 8, 2008 Hi Ken,Thanks for your reply, i've just installed the contrib, but i can't find out how to manually add tags for each category and the same for the other languages. Desiree Hi Desiree 1. select the language you want from the language dropdown box at top right when you first log in to admin; 2. select Catalog (obviously this word may be different if not English); 3. in the Catalog box, select Product Header Tags, if you want to manually enter or edit header tags for products; or select Category Header Tags, if you want to enter or edit header tags for Categories. after entering header tags for a product or category, you can click on the name of product or category on the leftmost column to see how it works (you may want to look at the page source). HTH Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
GemRock Posted December 8, 2008 Author Share Posted December 8, 2008 (edited) I have uploaded a revised Installation Instructions (install-v2.zip). If you have a multi-lingual shops and want to manually enter/edit/show header tags in different languages, then you MUST follow the new installation instructions. Note that main changes are in the How To Use section, in particular, the code added to the index.php file. Ken Edited December 8, 2008 by GemRock Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
sayyouloveme Posted December 11, 2008 Share Posted December 11, 2008 Hi, I installed Header Tags SEO v3.1.0. Its very gr8 contribution. But I have two problems: 1) I have multilanguage website and its only working on my default language. When I switch to English language the tags are showing empty and not working. (I have written all tags from my admin for all languages) 2) And after installed my second language is showing the right column in the middle of product_info page...My default language product_info page is showing the right column normally... Have you any suggestions? Thanks Hakan Quote Link to comment Share on other sites More sharing options...
GemRock Posted December 11, 2008 Author Share Posted December 11, 2008 1. please see my reply two posts above; 2. the contribution only modifies the header section and has nothing to do with the page layout, so i don't know the answer your 2nd question (or are you sure you are actually using my contribution as some other header tags contrib may modify other part of the page and I don't have version number of 3.1.0?). and you should install version 4.00 of my contribution instead Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
af0i0f9af Posted December 17, 2008 Share Posted December 17, 2008 (edited) Hi Ken trying to get this work with my store its all installed etc but when adding the 3 fields keywords, title, desc it doesnt show up when i refresh the product page? Any ideas? Am using SEO G mod as well Edited December 17, 2008 by af0i0f9af Quote Link to comment Share on other sites More sharing options...
GemRock Posted December 17, 2008 Author Share Posted December 17, 2008 without the shop's url what i can say is double check installation making sure all steps are followed, in particular the section "How to use - adding dynamic header tags to your shop", ie, modification made to the product info php file. Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
af0i0f9af Posted December 17, 2008 Share Posted December 17, 2008 without the shop's url what i can say is double check installation making sure all steps are followed, in particular the section "How to use - adding dynamic header tags to your shop", ie, modification made to the product info php file.Ken Hi Ken checked it over thoroughly and its as it should be. Could it be a permissions issue? Quote Link to comment Share on other sites More sharing options...
GemRock Posted December 17, 2008 Author Share Posted December 17, 2008 if you want the issue be resolved quickly, then post your url to me. there is no such thing as permission issue for a stock osc, unless yours has had some stange addon installed. Ken Quote commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. 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.