Page 6 of 12 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 111
  1. #51
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: Google Mapinator

    Hi,
    Quote Originally Posted by firehorse View Post
    Just my own little puzzle
    I've found out why my 'hack' doesn't work with the contact us page. It's because there's already an onload function being executed in the body tag. And if you execute an onload in a body later on it is ignored.

    So the correct thing is to put the onload in the includes/module/page/contact us so it gets included in and executed in the right place in the 'body' tag at the start of the page.

    My hack executes the body onload half down the page which breaks html coding but functions ok in opera 9.02, firefox 1.5.0.7 & IE6.0.2900.2180

    So stick with the original contribution for the contact us page

    Best regards
    Alan

  2. #52
    Join Date
    Jan 2007
    Location
    Bellingham, Wa
    Posts
    174
    Plugin Contributions
    0

    Default Re: Google Mapinator

    Quote Originally Posted by rambo View Post
    To put a get driving directions field above the map:

    in includes/templates/template_default/templates/tpl_contact_us_default.php

    move line: 17
    Code:
    <?php echo zen_draw_form('contact_us', zen_href_link(FILENAME_CONTACT_US, 'action=send')); ?>
    down below
    Code:
    <?php } ?>
    on line 44. This will start the contact <form> below our map form. You probably would want to do a overwrite version in YOURTEMPLATE folder.

    then in:
    includes/language/english/html_includes/YOURTEMPLATE/define_contact_us.php

    Code:
    <form action="http://maps.google.com/maps" method="get" target="blank">
    <p><label for="mapsUsSaddr">Where are you coming from?&nbsp;<br>
     Please enter&nbsp;street address, city, and ZIP Code:<br></label><input class="text" id="maps" size="40" name="saddr"> <input class="submit" value="Get directions" type="submit">&nbsp; <input value="11111 Yourstreet Boulevard Beverly Hills, CA. 90210" name="whateva" type="hidden"> <input value="en" name="hl" type="hidden"></p>
    </form>
    place this above the map code:
    Code:
    <div id="map" style="width: 100%; height: 350px; border:solid black 1px;" ></div>
    Please try it out and let me know if you run into any problems posting to either form on the page. Thanks.
    I got all these errors with the form
    Code:
      Sorry, is your name correct? Our system requires a minimum of 2 characters. Please try again.      Sorry, my system does not understand your email address. Please try again.
          Did you forget your message? We would like to hear from you. You can type your comments in the text area below.

  3. #53
    Join Date
    May 2005
    Location
    Brussels belgium
    Posts
    203
    Plugin Contributions
    0

    Default Re: Google Mapinator

    Hi,

    i've installed this contrib successfully but I have a little bug I can see the adress + tel data in the map see the print sreen

    best regards

    chris
    Attached Images Attached Images  
    Zen cart or nothing !!

  4. #54
    Join Date
    Jan 2007
    Location
    Bellingham, Wa
    Posts
    174
    Plugin Contributions
    0

    Default Re: Google Mapinator

    Are they entered in the admin panel: Configuration > My store ...?

  5. #55
    Join Date
    Jun 2005
    Posts
    95
    Plugin Contributions
    0

    Default Re: Google Mapinator

    I dont know if others have had problems getting the exact fix like i did. but once i got the basic areas long and lat. I found this link so I could place it EXACTLY where i am to get the right numbers. I hope the link helps others

    http://www.gorissen.info/Pierre/maps...&setLatLon=Set

    Oh by the way thats my place :) in Australia

  6. #56
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Google Mapinator

    Since URL rewrites seem to break any API key that I now try, I thought about embedding our Google Local result into the contact us page.
    So, I put
    Code:
    <iframe src=”http://local.google.co.uk/maps?f=l&hl=en&q=Fun+and+Frolic&near=&layer=&sll=51.432608,-0.947914&sspn=0.057577,0.160675&ie=UTF8&z=13&ll=51.453472,-0.947914&spn=0.05755,0.160675&om=1&iwloc=A” width=”500" height=”500"></iframe>
    at the bottom of the contact_default.tpl page.
    Except, something is rewriting that URL!
    Because I end up with http://www.funnfrolic.co.uk/party-st...ontact_us.html which has
    Code:
     The requested URL /party-store/”http://local.google.co.uk/maps was not found on this server.
    How is it rewriting that??

  7. #57
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Google Mapinator

    The more I look at it, the more I'm sure this isn't the original contrib I installed!
    I think there's another one, but I just can't find it!

  8. #58
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Google Mapinator

    Quote Originally Posted by kelvyn View Post
    The more I look at it, the more I'm sure this isn't the original contrib I installed!
    I think there's another one, but I just can't find it!
    DUH! I wish I could edit for more than 7 minutes - if someone wants to join all three posts they can.

    First, I just realised that the contrib in the downloads is NOT this version - in fact, the version lives at the top of this thread.

    Secondly, if you want co-ordinates easily, use http://mapmaker.donkeymagic.co.uk/

    And is anyone's map still working?

  9. #59
    Join Date
    Mar 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Google Mapinator

    Thanks for the download. However I can't seem to be able to make it work. I followed the instructions and nothing appears under Admin>My Store. No references to lat, long, or anything else in the google mapinator.

    I tried inputting the lat and long into the configuration.sql.
    It also says that my API key is wrong. I registered it for http://www.mysite.com/
    does it matter that my store is at http://www.mysite.com/store? In other words do I have to register it for /store instead of just / ?

  10. #60
    Join Date
    Mar 2007
    Posts
    16
    Plugin Contributions
    0

    Idea or Suggestion Re: Google Mapinator

    Just a quick update. I got a new API for xxx/store and it still says that the API code is used by another site.

    Does anyone know why it is doing this?

    Cheers.

 

 
Page 6 of 12 FirstFirst ... 45678 ... LastLast

Similar Threads

  1. Contact form Issue after installing Google Mapinator
    By dix30simulation in forum General Questions
    Replies: 5
    Last Post: 24 Mar 2015, 04:57 PM
  2. Google Mapinator not showing MAP
    By leest35 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Dec 2011, 08:34 PM
  3. Zen lightbox 1.4 and google mapinator
    By dml311071 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 4 Dec 2007, 08:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR