KLAYMAN Posted November 7, 2006 Posted November 7, 2006 Hello, I have a problem with my shop. I have modified the header and I have added five buttons ( three for languages and two for currencies ). The buttons have a map or interactive zone, and I would like that they work to the equal than do the combobox of the currencies and the flags of the languages in the column right. This is the code of my table (change currency to Euro): <td width="49%" bgcolor="#00D24D"><div align="center"><img src="http://www.saharaverde.org/catalog/images/menulogo.jpg" width="300" height="160" border="0" usemap="#Map" /></div></td> </tr> </table> <map name="Map" id="Map"> <area shape="circle" coords="205,111,17" href="http://www.saharaverde.org/onlinetienda/catalog/index.php?currency=EUR"> </map> The Path of the first webpage is easy: <Area shape circle coords 205.111.17 href " http://www.saharaverde.org/onlinetienda/catalog/index.php?Currency EUR"> but my question is How do I obtain the path of a category or a product? I have the same problem with the buttons of the languages, How do I obtain the customer's absolute path?. Thank you for everything and a greeting. Webpage: My Shop
Druid6900 Posted November 7, 2006 Posted November 7, 2006 Hello, I have a problem with my shop. I have modified the header and I have added five buttons ( three for languages and two for currencies ). The buttons have a map or interactive zone, and I would like that they work to the equal than do the combobox of the currencies and the flags of the languages in the column right. This is the code of my table (change currency to Euro): <td width="49%" bgcolor="#00D24D"><div align="center"><img src="http://www.saharaverde.org/catalog/images/menulogo.jpg" width="300" height="160" border="0" usemap="#Map" /></div></td> </tr> </table> <map name="Map" id="Map"> <area shape="circle" coords="205,111,17" href="http://www.saharaverde.org/onlinetienda/catalog/index.php?currency=EUR"> </map> The Path of the first webpage is easy: <Area shape circle coords 205.111.17 href " http://www.saharaverde.org/onlinetienda/catalog/index.php?Currency EUR"> but my question is How do I obtain the path of a category or a product? I have the same problem with the buttons of the languages, How do I obtain the customer's absolute path?. Thank you for everything and a greeting. Webpage: My Shop Ok, this is a program called BasePath. Cut it, paste it into wordpad or some other text editor, save it out as basepath.php, upload it to the directory of the site that you need the path to and then call it, it will give you the absolute path. <? /* Basepath Finder by Scripthosting.net Author: Jan-Michael Fuhrmann http://www.scripthosting.net Last Update: 17.07.2005 16:56 */ $basepath = $_SERVER["SCRIPT_FILENAME"]; $basepath = substr($basepath,0,-13); echo "<font face=\"Tahoma\" size=\"2\"><b>Basepath:</b></font><br><input type=\"text\" size=\"100\" value=\"". $basepath ."\">"; ?> HTH, Richard No Good Deed EVER Goes Unpunished
KLAYMAN Posted November 7, 2006 Author Posted November 7, 2006 Thank you very much Druid6900, I have copied the code and I have upload the file basepath.php to the directory, but I do not understand call to this. What code use to call? Thanks again. Pardon for my question, but I am beginner :( . Thank you for all.
Druid6900 Posted November 7, 2006 Posted November 7, 2006 Thank you very much Druid6900, I have copied the code and I have upload the file basepath.php to the directory, but I do not understand call to this. What code use to call? Thanks again. Pardon for my question, but I am beginner :( . Thank you for all. No, it's my fault. Just because I know how to do something, I shouldn't assume that someone else does as well. I hate when other people make that assumption with me. Ok, to call it, it's http://www.NAMEOFSITE.com/DIRECTORYPATH/basepath.php (fill in the name of site and directory path, of course) You'll get a white screen with a box with the absolute path to that directory Richard No Good Deed EVER Goes Unpunished
Recommended Posts
Archived
This topic is now archived and is closed to further replies.