spleen Posted February 9, 2005 Share Posted February 9, 2005 (edited) its a clean OSC install - i switch to product listing (DVD category) got this as desc: <META NAME="Description" Content="- DVD Filme from osCommerce"> there is the trailing "-" even if i enter some stuff for the HEAD_DESC_TAG_INDEX i got "- test" as desc. (thanks that those variables are working now!) the double thing is fixed aswell - thanks! ah and nevermind about the STS... i dont use it anymore - but i didnt replace the title on first installation. so maybe its working aswell - but maybe there are probelms with head tas controller code inside the STS (its merged in latest version) Edited February 9, 2005 by spleen Quote Link to comment Share on other sites More sharing options...
clarocque Posted February 9, 2005 Author Share Posted February 9, 2005 its a clean OSC install - i switch to product listing (DVD category) got this as desc: <META NAME="Description" Content="- DVD Filme from osCommerce"> there is the trailing "-" even if i enter some stuff for the HEAD_DESC_TAG_INDEX i got "- test" as desc. (thanks that those variables are working now!) the double thing is fixed aswell - thanks! ah and nevermind about the STS... i dont use it anymore - but i didnt replace the title on first installation. so maybe its working aswell - but maybe there are probelms with head tas controller code inside the STS (its merged in latest version) <{POST_SNAPBACK}> OK I see where you mean now... Open /includes/meta_tags.php got to line 205 find: // Description $metadescription=$desc; if (tep_not_null($index_desc) && $default==false ) $metadescription.=' - '. $index_desc; $metadescription=meta_create_meta_description($metadescription); and replace with: // Description $metadescription=$desc; if (tep_not_null($metadescription)&& $default==false ) $metadescription.=' - '; if (tep_not_null($index_desc) && $default==false ) $metadescription.=$index_desc; $metadescription=meta_create_meta_description($metadescription); Try that I dont have time to test right now so let me know... Chris Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
spleen Posted February 10, 2005 Share Posted February 10, 2005 hi there! well index.php is fine now! but DVD category: <META NAME="Description" Content="- DVD Filme from osCommerce -"> there is still the trailign slash and now another ending one... Quote Link to comment Share on other sites More sharing options...
clarocque Posted February 10, 2005 Author Share Posted February 10, 2005 hi there! well index.php is fine now! but DVD category: <META NAME="Description" Content="- DVD Filme from osCommerce -"> there is still the trailign slash and now another ending one... <{POST_SNAPBACK}> Sorry, I can't duplicate that... but just to let you know, by defaulyt I added dashes in a few places. If you want to csutomize yours go through the code and commend the lines. Like line 208 , change that to //$metadescription.=' - '; These are not bugs just a tatst difference java script:emoticon(':blink:') smilie Hope that helps... Chris Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
spleen Posted February 10, 2005 Share Posted February 10, 2005 hehe yeah i understand ;) seemed for me like beeing a small bug that the seperator will be added even if there is no second attribute. well ill give it a try when im back from holidays ;) Quote Link to comment Share on other sites More sharing options...
clarocque Posted February 10, 2005 Author Share Posted February 10, 2005 hehe yeah i understand ;) seemed for me like beeing a small bug that the seperator will be added even if there is no second attribute. well ill give it a try when im back from holidays ;) <{POST_SNAPBACK}> Yes, I would agree - however I am not able to duplicate that when there is no second one - sorry... I see this.... <META NAME="Description" Content="DVD Movies - Action from osCommerce - Desc to add to all - Desc for index..."> and <META NAME="Description" Content="DVD Movies from osCommerce - Desc to add to all - Desc for index..."> and <META NAME="Description" Content="Courage Under Fire (DVD-CUFI) by Fox - Regional Code 2 (Japan, Europe, Middle East, South Africa). Languages English, Deutsch. Subtitles English, Deutsch, Spanish. Audio Dolby Surround 5.1. Picture Format 169 Wide-Screen...."> sorry... Chris Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
TCwho Posted February 11, 2005 Share Posted February 11, 2005 your cookies should not have http ior https or www ... why do you say this? Quote Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
clarocque Posted February 11, 2005 Author Share Posted February 11, 2005 why do you say this? <{POST_SNAPBACK}> If you use a . you will avaid issues when the url changes... define('HTTP_COOKIE_DOMAIN', '.domain.com'); define('HTTPS_COOKIE_DOMAIN', '.domain.com'); this will also keep the cookie valid switching from NONSSL<->SSL Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
Guest Posted February 11, 2005 Share Posted February 11, 2005 why do you say this? <{POST_SNAPBACK}> ...because Chris is correct in advising that the cookie SCOPE should be defined as such. That is the #1 most common mistakes I have seen with store owner configuration. As Chris as stated it should be .domain.com and NOT www.domain.com or http://www.domain.com as is so common. .domain.com - corrent www.domain.com - will work but may present problems http://www.domain.com - don't even try it...will fail every time Bobby Quote Link to comment Share on other sites More sharing options...
TCwho Posted February 11, 2005 Share Posted February 11, 2005 wow thanks. Mistake I had made myself, although in my situation I had not encountered any problems, although I am not live yet, and am not forcing cookies... when I was getting my ssl cert, I had the choice of getting domain.com or www.domain.com ... I got it issued to www.domain.com, but would it have been better to get it issued to .domain.com? thanks guys, I appreciate this help Quote Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
clarocque Posted February 11, 2005 Author Share Posted February 11, 2005 wow thanks. Mistake I had made myself, although in my situation I had not encountered any problems, although I am not live yet, and am not forcing cookies... when I was getting my ssl cert, I had the choice of getting domain.com or www.domain.com ... I got it issued to www.domain.com, but would it have been better to get it issued to .domain.com? thanks guys, I appreciate this help <{POST_SNAPBACK}> No, you were correct to get it as www.domain.com. If you got your SSL at domain.com, when it is called you would get a SSL error. (Assuming you are using a domain with the www. like www.domain.com). Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
TCwho Posted February 11, 2005 Share Posted February 11, 2005 Thanks Chris Quote Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
kslager Posted February 11, 2005 Share Posted February 11, 2005 Does anyone know if cDynamic Meta Tags compatible with the Simple Template System (STS)? I cant seem to get them to work together. Tried putting $headcontent into the header of my template file AND in the php source.. :'( Quote Link to comment Share on other sites More sharing options...
clarocque Posted February 11, 2005 Author Share Posted February 11, 2005 Does anyone know if cDynamic Meta Tags compatible with the Simple Template System (STS)? I cant seem to get them to work together. Tried putting $headcontent into the header of my template file AND in the php source.. :'( <{POST_SNAPBACK}> I am not sure as I have never looked at STS, it does work with BTS - if I get a chane I will take a look at STS and see what is different. With out looking at it I believe the only difference for BTS is step 3, instead of having to do all pages you only have to do one tpl page. I will try to look at STS soon. Chris Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
gorilla Posted February 11, 2005 Share Posted February 11, 2005 No, you were correct to get it as www.domain.com. If you got your SSL at domain.com, when it is called you would get a SSL error. (Assuming you are using a domain with the www. like www.domain.com). <{POST_SNAPBACK}> Hi , sorry to sidetrack the topic but i got mine as https://domain.com and seem to be having issues with oscommerce as i get redirected to https://www.domain.com , how could i fix this so it'll point me to https://domain.com ? Quote Best Regards Gorilla AUSWEB | Australian Web Hosting and Domain Name Registration Link to comment Share on other sites More sharing options...
clarocque Posted February 11, 2005 Author Share Posted February 11, 2005 Hi , sorry to sidetrack the topic but i got mine as https://domain.com and seem to be having issues with oscommerce as i get redirected to https://www.domain.com , how could i fix this so it'll point me to https://domain.com ? <{POST_SNAPBACK}> includes/configure.php (and admin to if using SSL) define('HTTPS_SERVER', 'https://domain.com') Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
spleen Posted February 11, 2005 Share Posted February 11, 2005 I see this....QUOTE <META NAME="Description" Content="DVD Movies - Action from osCommerce - Desc to add to all - Desc for index..."> and QUOTE <META NAME="Description" Content="DVD Movies from osCommerce - Desc to add to all - Desc for index..."> and QUOTE <META NAME="Description" Content="Courage Under Fire (DVD-CUFI) by Fox - Regional Code 2 (Japan, Europe, Middle East, South Africa). Languages English, Deutsch. Subtitles English, Deutsch, Spanish. Audio Dolby Surround 5.1. Picture Format 169 Wide-Screen...."> well just gave the additional infos a try - well i can duplicate all of your infos. but if there is no "Desc to add to all" there will be the last slash (only if you add teh fix you posted some posts before) . the trailing one will always be there if you are not on product_info or index (main). well im using Ultimate SEO aswell and some other modifications but cant see the reason in there. i will try it on a clean store aswell soonish. @kslager - i didnt get it working aswell :( you might better use Header Tags Controller contrib... Quote Link to comment Share on other sites More sharing options...
clarocque Posted February 11, 2005 Author Share Posted February 11, 2005 well just gave the additional infos a try - well i can duplicate all of your infos. but if there is no "Desc to add to all" there will be the last slash (only if you add teh fix you posted some posts before) . the trailing one will always be there if you are not on product_info or index (main). well im using Ultimate SEO aswell and some other modifications but cant see the reason in there. i will try it on a clean store aswell soonish. @kslager - i didnt get it working aswell :( you might better use Header Tags Controller contrib... <{POST_SNAPBACK}> Marcel, I have re uploaded the changes just in case.. make sure you update to the latest includes.meta_tags.php = made some small changes, but not that are affecting your issue. I am not duplicating you issue. Are you cahcing the results? If so delete the cache files or turn it off and check. You might be viewing an old cahced file? Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
Guest Posted February 16, 2005 Share Posted February 16, 2005 Hello thank a lot for the contrib... i would like to modify the number of characters that can be display in meta title ? is it possible ? Quote Link to comment Share on other sites More sharing options...
mltgroup Posted February 16, 2005 Share Posted February 16, 2005 Hi, I installed this contribution: http://www.oscommerce.com/community/contributions,2895 cDynamic Meta Tags v1.0 to my OSC store, but I can't figure out how to get products to show up in the TITLE tag. I can drill down to categories and they show up, but when I click on a product, it still just puts the category in the TITLE. Is there any way to change this to the PRODUCT? Thanks for you help. My Store: http://www.cybergeekhosting.com/catalog/ Quote Link to comment Share on other sites More sharing options...
clarocque Posted February 16, 2005 Author Share Posted February 16, 2005 Hello thank a lot for the contrib... i would like to modify the number of characters that can be display in meta title ? is it possible ? <{POST_SNAPBACK}> The default length settings are in includes/functions/meta.php The length is specified for the functions on that page. Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
clarocque Posted February 16, 2005 Author Share Posted February 16, 2005 Hi, I installed this contribution: http://www.oscommerce.com/community/contributions,2895 cDynamic Meta Tags v1.0 to my OSC store, but I can't figure out how to get products to show up in the TITLE tag. I can drill down to categories and they show up, but when I click on a product, it still just puts the category in the TITLE. Is there any way to change this to the PRODUCT? Thanks for you help. My Store: http://www.cybergeekhosting.com/catalog/ <{POST_SNAPBACK}> Have you don any other modifications? The contribution is designed to add the product name to the title.and I have not heard of anyone else having this problem??? Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
mltgroup Posted February 17, 2005 Share Posted February 17, 2005 Yea, I installed a "Search Engine Friendly URLs" contrib as well. Maybe that is the problem. Is there a better way to make the URLs search engine friendly? Thanks again for the information. Quote Link to comment Share on other sites More sharing options...
clarocque Posted February 17, 2005 Author Share Posted February 17, 2005 Yea, I installed a "Search Engine Friendly URLs" contrib as well. Maybe that is the problem. Is there a better way to make the URLs search engine friendly? Thanks again for the information. <{POST_SNAPBACK}> Try this: http://www.oscommerce.com/community/contributions,2823 Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
ukgoods Posted February 18, 2005 Share Posted February 18, 2005 I noticed that inactive items are showing up in the meta keywords tag on when displaying all items in a category. Any idea how can I change the query to only get active items? For an example: http://www.ukgoods.com/biscuits-mcvities-c-33_52.html The meta keywords are showing up as: <meta NAME="Keywords" Content="mcvities, mcvities favourites biscuit tin, mcvities fruit shortcake, mcvities plain chocolate hobnobs, mcvities victoria biscuit tin, mcvities hobnobs, mcvities rich tea biscuits, mcvities milk"> The McVities Favourites Biscuit Tin and McVities Victoria Biscuit Tin are specialty Christmas items and are inactive. Thanks, Donna Gordon Quote 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.