Page 1 of 1

google map on contact page?

Posted: Sun Sep 16, 2007 2:06 pm
by newtonartistic
Hello,

Is there a way to add a google map to the contact page?  I took a look at the google map extention but it appears that it is placed on a new page.  I am looking to add it right to the contact page.  Does anybody know of an online instruction page for something like this on the internet that I could read up on and learn about?  I am fairly new to the entire Joomla experience so any help would be excellent.  I must say that I am completely impressed with Joomlas capabilities to this point and plan on using it quite extensively from here on out. 

Thank you,
Jeremy

[MOD note: please do not include your signature manually. Use the signature function instead (Profile > Forum Profile Information > Signature:)]

Re: google map on contact page?

Posted: Sun Sep 16, 2007 3:13 pm
by pe7er
Search a location with http://maps.google.com/
Click on "Link to this page" (on the right just above the map).
Copy the line under "Paste HTML to embed in website"
and past that HTML code in the "Miscellaneous Info:" in the contact form
(Components > Contacts > Manage Contacts > select your contact form > "Miscellaneous Info:").

If the Google map slows down your site, you could also just copy the link under "Paste link in email or IM"
and create a HTML link in the "Miscellaneous Info:" field. (I did the same at my site under "Contact / Adres")

Re: google map on contact page?

Posted: Sun Sep 16, 2007 4:30 pm
by newtonartistic
Thank you Pe7er it works great. It seems fast enough that I do not need to link to the page, I can just place it in the contact page. Do you know of a way to have the map load without the information bubble?  I am opening a medium sized map and it seems as if the bubble that displays the address takes up a great chunk of the available image.

Thanks again,
Jeremy

Re: google map on contact page?

Posted: Sun Sep 16, 2007 5:21 pm
by pe7er
I don't know how to remove the information bubble.
Maybe you can find it at http://www.google.com/apis/maps/

Re: google map on contact page?

Posted: Sun Sep 23, 2007 4:28 pm
by joomleb
Please,

Can be done also trough Plugin Googlemaps
http://extensions.joomla.org/component/ ... Itemid,35/ ?

Is it better or no ? (thinking on "If the Google map slows down your site" )

and, What about this solution:
http://forum.joomla.org/index.php/topic,67378.0.html ?

Many Thanks

Re: google map on contact page?

Posted: Wed Oct 17, 2007 7:18 am
by FidelGonzales
I believe you're looking for this.

http://www.rolldesign.com/contact/

The Plugin Google Map is a great mambot and is probably the best and most versatile Google Map application there is - even when compared against the components that are out there, which are not very well refined as of yet. Though, the last I tried, I was unable to get this mambot to work in other components, including on the content sections and categories. This may have changed, as I remember downloading the last version when I saw a reference to other components.

As you can see by the example above, my only issue is attempting to figure out the CSS to make the "Get Directions" popup to render black text against the white background. It's now picking up the CSS from the template, which is white text on black background.

Re: google map on contact page?

Posted: Wed Oct 17, 2007 10:12 am
by joomleb
Yes,

Can you give me more instructions on how to have it ?

Re: google map on contact page?

Posted: Wed Oct 17, 2007 3:39 pm
by FidelGonzales
Do you mean how to install it?
  • BACKUP - Take note of the files in the archive package. Back those files up on your website. I simply rename them to "filename_ORIGINAL.php."
  • OVERWRITE - FTP all the files in the archive directly to your root Joomla install.
CONFIGURE - Go to your Joomla contact component and configure according to your specific guidelines. Note, you will need a Google API Key, which takes approximately one minute.
[/list]

Re: google map on contact page?

Posted: Wed Oct 17, 2007 5:18 pm
by joomleb
Please,

Do that hack run on joomla 1.0.13 ?
Do that hack need Google map plugin to work ?
Do that hack follow Google map plugin settings ?

Many Thanks

Re: google map on contact page?

Posted: Wed Oct 17, 2007 6:48 pm
by FidelGonzales
Yes.
No.
No.

Re: google map on contact page?

Posted: Sat Jan 05, 2008 1:24 am
by Pixelate
If anyone wants to know how to add the longtitude / latitude from the google map, there's a simple way described here.
http://lifehacker.com/software/google-m ... 267361.php

Copy & past this javascript code into your browser bar

Code: Select all

javascript:void(prompt('',gApplication.getMap().getCenter()));
and a javascript popup will show you the long / lat info.

Re: google map on contact page?

Posted: Sat Jan 05, 2008 2:42 am
by thancock
This isn't an exact solution, but I created a new Contact Us module for the homepage of this school site, and linked to a how to find us page from there: http://northsteadschool.co.uk/index.php ... &Itemid=58.

This bot is (imho) a great Google Maps implementation from Mike Reumer here http://tech.reumer.net/. Mike is extremely knowledgable, quick to respond to queries and modify his bot. J! Extension link here: http://extensions.joomla.org/component/ ... Itemid,35/

BTW, for multiple map implementations (like I have done on http://wanderlust.org.uk - see Walks - Descriptions pages) this also uses kml files saved from Google Earth, where you can also easily find the lat and long co-ordinates for your location.