that worked thanks
that worked thanks
Good evening everyone,
I love you mod - it is so sweet. My only problem is that I can't seem to get long. & lat. from Google. I put my info in, as suggested, but no #s come up for the long & lat.
The #s that are already populated in "My Store" somehow put me in the middle of Great Britain.
nI'm really anxious to use this as it is just so neat. Any suggestions?
THanks,
Laura
Sorry for the bother. I went to http://terraserver.microsoft.com/ and that seemed to work a little better. We're not in a major city and its kinda hard to pin down. I'll keep tweaking it, but at least we're now in the proper geographic area!
I'm stuck with no map - I installed software, uploaded patch, can get my API code from Google and installed it on my site but I get - An error while loading the page http://www.stakemill.com/store/index...age=contact_us - I get a pop up error the google code was registered for a different web site - I have no forwarding or masking on, site is pointing to correct domain - what is the correct domain to enter on googles site?
Also do I just past this code with nothing else in my EZPages for contact_us?
Add the following code to your define_contact_us.php
this is usually located in includes/languages/english/YOURTEMPLATE/define_contact_us.php
<div id="map" style="width: 100%; height: 350px; border:solid black 1px;" ></div>
Where are the body tags located (line number or between what other text) that I add these lines too?
Google recommend that in order to cut down possible memory leakage you put an onunload=GUnload() in the
body tag (found in includes/templates/YOURTEMPLATE/common/tpl_main_page.php)
Hi seanscully,
You need to register your url with google. They will provide you with an API Key which you can paste into the api key section in the admin. That should do it.
Regards,
Graham
First off - great mod, look forward to using it. I dod get a google API code and have tried it with just my domain and also with domain.com/store and keep getting errors on the page that the google key code was registered for a different site, but it is my google info I setup for this domain. Any guidance would be appreciated.
Also where do I put the code in the body??
Thanks
I'm not sure why the api key isn't working.. Try gettting a new one off them. Did you add the subdirectory "store" to it? I just generated one with it in:Originally Posted by seanscullyCode:ABQIAAAAe-VSG41rq7cNaUWO8vrxPBSmd-aiOxGGf418wRr2Iwk7DOg7vhTOeJ_fnDVol_mDsb8mb2VE8JkIFQ
The GUnload() should be place in the body tag like this;
Hope that helps.Code:<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'" onunload="GUnload()"'; ?>>
Graham.
My mistake-
It auto populated the My Store settings, so I just changed the API key, did not enter new Long and Lat settings which I got from link in the above post - http://terraserver.microsoft.com/
I do like this mod, can it be used for a site that has more than one store location?
I tried to copy to code from Google's site when I got my API code and changed the long and lat numbers into an EZPage but the map shows with no location popup or even any map control settings.
Thanks in advance.
It is actually in: includes/languages/english/html_includes/YOURTEMPLATE/define_contact_us.phpOriginally Posted by knuckle-101
note: developer, please correct this filepath in your readme. Thanks.
Try here to get the degrees of your shop: http://world.maporama.com/idl/maporama/default.aspxOriginally Posted by sospcshop
Then try here to convert degrees to decimal:
http://www.fcc.gov/fcc-bin/convertDMS
Bookmarks