![]() |
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:
<html> Can anyone help? |
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.
|
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.
??? |
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?
|
Re: Google Geopoint map API
Anybody who has done something simular?
|
All times are GMT -8. The time now is 07:31 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.