Google Map on Contact Page
- fabrizim
- Joomla! Apprentice
- Posts: 23
- Joined: Wed Mar 29, 2006 7:37 pm
- Contact:
Google Map on Contact Page
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
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.
-
- Joomla! Enthusiast
- Posts: 121
- Joined: Mon May 15, 2006 2:50 pm
Re: Google Map on Contact Page
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?
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?
- fabrizim
- Joomla! Apprentice
- Posts: 23
- Joined: Wed Mar 29, 2006 7:37 pm
- Contact:
Re: Google Map on Contact Page
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
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
-
- Joomla! Enthusiast
- Posts: 121
- Joined: Mon May 15, 2006 2:50 pm
Re: Google Map on Contact Page
Thanks, but the zip is corrupt
- fabrizim
- Joomla! Apprentice
- Posts: 23
- Joined: Wed Mar 29, 2006 7:37 pm
- Contact:
Re: Google Map on Contact Page
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
Regards-
Mark
-
- Joomla! Enthusiast
- Posts: 121
- Joined: Mon May 15, 2006 2:50 pm
Re: Google Map on Contact Page
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
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
- fabrizim
- Joomla! Apprentice
- Posts: 23
- Joined: Wed Mar 29, 2006 7:37 pm
- Contact:
Re: Google Map on Contact Page
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.
-
- Joomla! Enthusiast
- Posts: 121
- Joined: Mon May 15, 2006 2:50 pm
Re: Google Map on Contact Page
Many thanks, works
Any ideas how this can be adapted to show directions etc as well? Not asking for much tonight am I! Sorry
Any ideas how this can be adapted to show directions etc as well? Not asking for much tonight am I! Sorry
- fabrizim
- Joomla! Apprentice
- Posts: 23
- Joined: Wed Mar 29, 2006 7:37 pm
- Contact:
Re: Google Map on Contact Page
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
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
- aravot
- Joomla! Ace
- Posts: 1015
- Joined: Thu Aug 18, 2005 1:16 am
- Location: Glendale, CA, USA
- Contact:
-
- Joomla! Ace
- Posts: 1045
- Joined: Sat Aug 20, 2005 8:53 am
- Location: Panamá
Re: Google Map on Contact Page
Is there not a demo link about this ?
Please, take a look also on this solution:
http://forum.joomla.org/index.php/topic ... msg1005212
Please, take a look also on this solution:
http://forum.joomla.org/index.php/topic ... msg1005212
- FidelGonzales
- Joomla! Guru
- Posts: 584
- Joined: Thu Nov 03, 2005 12:10 am
- Location: Hesperia, California, USA
- Contact:
Re: Google Map on Contact Page
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.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
http://www.DirtArmory.com - Off Road Sports Lifestyle
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Jan 23, 2007 9:08 pm
- Location: GTA, Canada
- Contact:
Re: Google Map on Contact Page
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
UPDATE: Disregard this post. I was putting the numbers in the wrong box.
Thanks in advance
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.
- FidelGonzales
- Joomla! Guru
- Posts: 584
- Joined: Thu Nov 03, 2005 12:10 am
- Location: Hesperia, California, USA
- Contact:
Re: Google Map on Contact Page
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
http://www.DirtArmory.com - Off Road Sports Lifestyle
-
- Joomla! Enthusiast
- Posts: 110
- Joined: Sun Oct 16, 2005 12:34 am
Re: Google Map on Contact Page
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 and a javascript popup will show you the long / lat info.
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()));
Re: Google Map on Contact Page
Is this hack working with the new 1.5 stable just released?
Will be nice...
Your help is really appreciated in advance.
Will be nice...
Your help is really appreciated in advance.
-
- Joomla! Apprentice
- Posts: 9
- Joined: Wed Oct 24, 2007 8:05 pm
Re: Google Map on Contact Page
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.