lisa65, on Dec 7 2006, 12:53 PM, said:
If you have search engine safe urls turned on, which I do, then the tags for products will not show. I am not a programmer so I can't figure it out. I'm sorry, but the guy who created this contribution never supports it and I can't seem to entice anyone else to come in and help us out.
Lisa
i've just managed to get it working on my site

if you add this bit of code to the top of product_info.php it should work on the product pages with search engine safe urls turned on. it will probably break the page if search engine safe urls is turned off though.
function selfURL() { $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : ""; $protocol = strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s; $port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]); return $protocol."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI']; } function strleft($s1, $s2) { return substr($s1, 0, strpos('
http://www.kam-racing.com/product_info.php/cPath/78/products_id/' $s2)); }
$urlstring = selfURL();
$products_id = substr_replace($urlstring, '', 0, -3);