google map on contact page?

This forum is for extensions for Joomla! version 1.0

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
newtonartistic
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Thu Apr 26, 2007 1:57 am
Location: Guelph ON Canada
Contact:

google map on contact page?

Post by newtonartistic » Sun Sep 16, 2007 2:06 pm

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:)]
Last edited by pe7er on Sun Sep 16, 2007 3:07 pm, edited 1 time in total.
Jeremy Newton

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 22326
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, The Netherlands
Contact:

Re: google map on contact page?

Post by pe7er » Sun Sep 16, 2007 3:13 pm

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")
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
Co-developer of d2 Content https://data2site.com/joomla-extensions/d2-content

newtonartistic
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Thu Apr 26, 2007 1:57 am
Location: Guelph ON Canada
Contact:

Re: google map on contact page?

Post by newtonartistic » Sun Sep 16, 2007 4:30 pm

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
Jeremy Newton

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 22326
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, The Netherlands
Contact:

Re: google map on contact page?

Post by pe7er » Sun Sep 16, 2007 5:21 pm

I don't know how to remove the information bubble.
Maybe you can find it at http://www.google.com/apis/maps/
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
Co-developer of d2 Content https://data2site.com/joomla-extensions/d2-content

joomleb
Joomla! Guru
Joomla! Guru
Posts: 986
Joined: Sat Aug 20, 2005 8:53 am
Location: Panamá

Re: google map on contact page?

Post by joomleb » Sun Sep 23, 2007 4:28 pm

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
Last edited by joomleb on Sun Sep 23, 2007 4:37 pm, edited 1 time in total.

User avatar
FidelGonzales
Joomla! Guru
Joomla! Guru
Posts: 584
Joined: Thu Nov 03, 2005 12:10 am
Location: Hesperia, California, USA
Contact:

Re: google map on contact page?

Post by FidelGonzales » Wed Oct 17, 2007 7:18 am

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.
http://www.MediaArmory.com - WEB | PHOTO | WRITE | MARKETING | DESIGN
http://www.DirtArmory.com - Off Road Sports Lifestyle

joomleb
Joomla! Guru
Joomla! Guru
Posts: 986
Joined: Sat Aug 20, 2005 8:53 am
Location: Panamá

Re: google map on contact page?

Post by joomleb » Wed Oct 17, 2007 10:12 am

Yes,

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

User avatar
FidelGonzales
Joomla! Guru
Joomla! Guru
Posts: 584
Joined: Thu Nov 03, 2005 12:10 am
Location: Hesperia, California, USA
Contact:

Re: google map on contact page?

Post by FidelGonzales » Wed Oct 17, 2007 3:39 pm

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]
http://www.MediaArmory.com - WEB | PHOTO | WRITE | MARKETING | DESIGN
http://www.DirtArmory.com - Off Road Sports Lifestyle

joomleb
Joomla! Guru
Joomla! Guru
Posts: 986
Joined: Sat Aug 20, 2005 8:53 am
Location: Panamá

Re: google map on contact page?

Post by joomleb » Wed Oct 17, 2007 5:18 pm

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

User avatar
FidelGonzales
Joomla! Guru
Joomla! Guru
Posts: 584
Joined: Thu Nov 03, 2005 12:10 am
Location: Hesperia, California, USA
Contact:

Re: google map on contact page?

Post by FidelGonzales » Wed Oct 17, 2007 6:48 pm

Yes.
No.
No.
http://www.MediaArmory.com - WEB | PHOTO | WRITE | MARKETING | DESIGN
http://www.DirtArmory.com - Off Road Sports Lifestyle

Pixelate
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 110
Joined: Sun Oct 16, 2005 12:34 am

Re: google map on contact page?

Post by Pixelate » Sat Jan 05, 2008 1:24 am

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.

thancock
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Sat Jan 05, 2008 2:21 am
Location: Sitting at Desk
Contact:

Re: google map on contact page?

Post by thancock » Sat Jan 05, 2008 2:42 am

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.


Locked

Return to “Extensions - 1.0.x”