Google Map on Contact Page

Locked
User avatar
fabrizim
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Wed Mar 29, 2006 7:37 pm
Contact:

Google Map on Contact Page

Post by fabrizim » Wed Jun 07, 2006 12:39 pm

Hi all-

I've used a hack on my last few sites to replace the image on the contact details page with a google map. I find it much more suitable for small websites, and it could be expanded with a "Get Directions" input box.

I wrote an article to show how to do this if anyone is interested.

http://joomlicious.com/content/view/5/27/

Regards-
Mark
Last edited by fabrizim on Thu Aug 17, 2006 9:00 pm, edited 1 time in total.

desk2web
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 121
Joined: Mon May 15, 2006 2:50 pm

Re: Google Map on Contact Page

Post by desk2web » Thu Aug 17, 2006 8:51 pm

I was hoping that this was going to be the answer to all my problems.  But when I follow the instructions all that happens is IE crashes :(

I am seriously in need of a Google Maps solution with Directions capability, and no matter which extension I try and use, or hack i implement, none seem to work :(

Anyone actually got one working?

User avatar
fabrizim
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Wed Mar 29, 2006 7:37 pm
Contact:

Re: Google Map on Contact Page

Post by fabrizim » Thu Aug 17, 2006 8:58 pm

Hey man -

I made some adjustments to that code and now you can just download an archive and unzip at the joomla installation root instead of doing all the hacking...

Look here

I also found that nasty little spot of IE badness and made a fix for that -- the hack also has a little for for directions now too.

Regards-
Mark

desk2web
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 121
Joined: Mon May 15, 2006 2:50 pm

Re: Google Map on Contact Page

Post by desk2web » Thu Aug 17, 2006 9:37 pm

Thanks, but the zip is corrupt :(

User avatar
fabrizim
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Wed Mar 29, 2006 7:37 pm
Contact:

Re: Google Map on Contact Page

Post by fabrizim » Thu Aug 17, 2006 9:39 pm

I've tested on several machines and haven't had a problem -- try downloading again... If it doesn't work, I'll rezip and update my download.

Regards-
Mark

desk2web
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 121
Joined: Mon May 15, 2006 2:50 pm

Re: Google Map on Contact Page

Post by desk2web » Thu Aug 17, 2006 9:59 pm

Tried again, still the same :(

The files show in the zip but when I try and extract with WinRAR or XP the only file which actually extracts the contact.html.php

User avatar
fabrizim
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Wed Mar 29, 2006 7:37 pm
Contact:

Re: Google Map on Contact Page

Post by fabrizim » Thu Aug 17, 2006 10:30 pm

I rezipped the files with 7-zip instead of winrar. Try now - I was able to extract all files from the new archive on another machine.

desk2web
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 121
Joined: Mon May 15, 2006 2:50 pm

Re: Google Map on Contact Page

Post by desk2web » Thu Aug 17, 2006 10:50 pm

Many thanks, works :D

Any ideas how this can be adapted to show directions etc as well?  Not asking for much tonight am I! Sorry :)

User avatar
fabrizim
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Wed Mar 29, 2006 7:37 pm
Contact:

Re: Google Map on Contact Page

Post by fabrizim » Thu Aug 17, 2006 11:11 pm

The best I've been able to figure out for directions is the ability to click the little google tack thingy and open a bubble with a get directions form. That said, it will open the directions in a _blank window... AFAIK there is no way to pull the directions code to your site with the current api.

It is possible to have the bubble open when the map loads though... I changed the code for download and added it as another parameter for a specific contact. Unzip again and see if thats what you need...

Regards-
Mark

User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Re: Google Map on Contact Page

Post by aravot » Mon Oct 02, 2006 8:07 pm

This should be part of Joomla core

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

Re: Google Map on Contact Page

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

Is there not a demo link about this ?

Please, take a look also on this solution:
http://forum.joomla.org/index.php/topic ... msg1005212

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:20 am

Yes. Here's the contact page hack example.

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

You can find the contact component Google Map hack here.

http://joomlicious.com/component/option ... Itemid,33/
http://www.MediaArmory.com - WEB | PHOTO | WRITE | MARKETING | DESIGN
http://www.DirtArmory.com - Off Road Sports Lifestyle

bluphoenix
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jan 23, 2007 9:08 pm
Location: GTA, Canada
Contact:

Re: Google Map on Contact Page

Post by bluphoenix » Thu Oct 25, 2007 4:22 pm

I got the hack to show a map on the contact page. I check multiple sites and I know my lat and long is right but it's pointing to Antartica and I'm in Canada! ??? Anyone know what the problem could be?

Thanks in advance  :D


UPDATE: Disregard this post. I was putting the numbers in the wrong box.  :-[
Last edited by bluphoenix on Thu Oct 25, 2007 4:46 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 » Thu Oct 25, 2007 5:08 pm

You likely have it entered wrong. Please email the address or temporarily provide it here.
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:26 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.

User avatar
ArtGoddess
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Tue Nov 14, 2006 9:04 am
Location: Spain
Contact:

Re: Google Map on Contact Page

Post by ArtGoddess » Thu Jan 24, 2008 1:22 am

Is this hack working with the new 1.5 stable just released?

Will be nice...

Your help is really appreciated in advance.

cafreamoroso
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Oct 24, 2007 8:05 pm

Re: Google Map on Contact Page

Post by cafreamoroso » Thu Jan 24, 2008 8:05 am

please i need this in joomla 1.5 stable... i don't care about mambots, i would really like to just paste my google html in miscellaneous info like i did in 1.0.13, is there any way to achieve this.. :( ? thanks in advance for your help.


Locked

Return to “Wishlist Archives - Archived”