| 
 | ||||||||||
|  | Shopping cart software Solutions for online shops and malls | |||||||||
|  |  |  | ||||||||
| X-Cart Home |  FAQ |  Forum rules |  Calendar |  User manuals |  Login | 
|  | 
| Google Geopoint map API | |||
|  |  | ||
|  | Thread Tools | Search this Thread | 
| 
			 
			#1  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Google Geopoint map API Has anyone got the Google map generator to work with Smarty? I'm trying to add a map to every product (really businesses) and planned on storing the longitude and latitude in the Products table. my problem is I'm not a javascript programmer, and I can't get it to work on a smarty page (so I can use Smarty variables for Long & Lat) I've tried enclosing it in {literal} tags and it doesn't work. to see the stand alone version http://www.omaha-restaurants.com/page_001.html Here is the code minus my API id Code: 
 Can anyone help? 
				__________________ Version 4.2.3 | |||||||
| 
			 
			#2  
			
			
			
			
		 | |||||||
| 
 | |||||||
|   Well, you would need to store the <head> portion in home.tpl, and then the rest of it would go on whatever page you wanted it to display on.  Yes, you will need to enclose the script with {literal} tags. 
				__________________ Padraic Ryan Ryan Design Studio Professional E-Commerce Development | |||||||
| 
			 
			#3  
			
			
			
			
		 | |||||||
| 
 | |||||||
|   I tried that using a static page for a test page http://www.omaha-restaurants.com/pages.php?pageid=7 and get an error that the page can't be opened. ??? 
				__________________ Version 4.2.3 | |||||||
| 
			 
			#4  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Google Geopoint map API golfguy, I see that you have integrated Google Maps under a tab at the product details (example: http://www.omaha-restaurants.com/Long-John-Silvers-p-447.html -> click tab 'Map') pages; can you shed some light on how this is done and is this Google Map information also saved in the X-Cart backoffice or? 
				__________________ Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie  -----------------------------------------------------------------------------------------------------------------------------------------  Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation!  More info | |||||||||
| 
			 
			#5  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Google Geopoint map API Anybody who has done something simular? 
				__________________ Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie  -----------------------------------------------------------------------------------------------------------------------------------------  Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation!  More info | |||||||||
|  | |||
| 
X-Cart forums © 2001-2020
 | |||