googleDirections - To Here - plugin

This plugin is an extension of the googleDirections plugin. You specify a designated place to be the destination, and let the user enter the adddress he or she is coming from. Google will then provide the driving or walking directions from the user-specified address to your designated place.

Note: If you want to use this content plugin inside a Custom HTML Modules, please refer to this article: How to Run Joomla Content Plugins in Custom HTML Modules.

Unique Features

  • Uses the latest Google Maps API v3
  • Support for mobile and responsive design!
  • Support for different transportation mode - DRIVING / BICYCLING / TRANSIT / WALKING
  • Support of laptop / mobile GPS to access Current Location
  • You can embed multiple Google Directions_to_here within an article
  • Each Google Direction can be of different size, map control and map type
  • Support for kml files
  • You can specify the "home position" using real address or longitude/latitude points
  • Built-in street view!
  • Support for many native languages e.g. Italian, Russian, French
  • Available for all Joomla versions: Joomla 1.0.x, native 1.5.x, 1.6.x, 1.7.x, 2.5.x and 3.0.x!

Mobile GPS

  • For mobile GPS to work for Current Location, your website must be using HTTPS (secured server).
  • The client must also allow access to its current location.

User Review

This plugin is listed in the The Joomla! Extensions Directory: To Here plugin for googleDirections

If you like this plugin, please post a review at the Joomla! Extensions Directory

Latest Version

v1.0.15 (for Joomla 1.0), v1.5.15 (for Joomla 1.5), v1.6.15 (for Joomla 1.6), v1.7.15 (for Joomla 1.7), v2.5.15 (for Joomla 2.5), v3.0.15 (for Joomla 3.0 and above)
Released Jul 23, 2017

  • Support of mobile / laptop GPS to access Current Location.
  • To use this feature, your website must be using HTTPS (secured server).
  • The client must also allow access to its current location (there will be a prompt which the user can click allow or deny).

v1.0.14 (for Joomla 1.0), v1.5.14 (for Joomla 1.5), v1.6.14 (for Joomla 1.6), v1.7.14 (for Joomla 1.7), v2.5.14 (for Joomla 2.5), v3.0.14 (for Joomla 3.0 and above)
Released Jul 20, 2017

  • Support for responsive design!
  • For larger screen, the map and the direction will be placed side by side - map on the left, directions on the right
  • For smaller screen (e.g. mobile), the map will be displayed on the top and the directions below the map
  • For iPad and iPhone 6/7 Plus, the landscape mode will show the map and directions side by side, and the portrait mode will show the map on top and directions below.

Geocoding your address

If you wish to know the latitude and longitude of your start point or end point, you can find out here: Free Geocoder v2.0 by kksou.

googleMaps Plugin

This plugin is for showing directions using Google Maps API.

If you just need a simple map (without any driving directions), you can use the googleMaps plugin.

googleDirections Plugin

This plugin has the destination fixed at your designated place.

If you want to be able to specify both the starting point and destination as variables, please use the googleDirections plugin.

Demo

Below you can see a live demo of the plugin. The destination is Google Inc. in Mountain View, California. Enter some address in US, and let Google shows you how to get there.

You may use any of the following address for testing:

  • 450 Serra Mall, Stanford, CA 94305, USA
  • 39210 Fremont Hub #211, Fremont, CA 94538
  • 333 Post St, San Francisco, CA 94108, USA

Coming from:

Coming from:

Coming from:

How to use

Important: This plugin makes use of the googleMaps plugin and googleDirections plugin to display the map. So please make sure you have installed googleMaps plugin v1.0.18/1.5.18/1.6.18/1.7.18/2.5.18 (or above) and googleDirections plugin v1.0.12/1.5.12/1.6.12/1.7.12/2.5.12 (or above) for this plugin to work.

If you have downloaded and installed the above plugins before the Christmas of 2011 (i.e. Dec 25, 2011), you are using the old version. Please update the two plugins to the latest version.

Tutorials

  1. To insert a Google Map with directions, use the following syntax:
  2. {googleDir_tohere width=400 height=360
    home_addr="1600 Amphitheatre Parkway, Mountain View, CA 94043"}
    

    Note that:

    • Enclose from and to in double quotes (")
    • Enter the full address in one line. If you're not in US, specify your country too.

  3. You can also use the latitude and longitude for precise location:
  4. {googleDir_tohere width=400 height=360
    home_lat=37.4219720, home_long=-122.0841430}
    
  5. You can set the width of the address input in the Parameters page.
  6. You can change the text "Coming from:" to your own language in the Parameters page.
  7. You can change the button label "Get Directions" to your own language in the Parameters page.

Download

For Joomla 1.0, please make sure you have installed googleMaps plugin v1.0.30 and googleDirections plugin v1.0.19 for this plugin to work.
For Joomla 1.5 and above, the installation package will also install the latest version of googleMaps plugin and googleDirections plugin required for this plugin.

Note: If you're using all the 3 plugins - the googleMaps, googleDirections and googleDirections - To Here plugins, you have to enter the Google Maps API Key for all the 3 plugins (in the Plugin Manager).

Remove the "Powered by" links

If you find the plugin useful and would like to use the plugin without the "Powered-by" links, you may do so by purchasing a "Powered-by" removal license for only USD $10 per site.

Secured payment is processed by 2checkout.com. All major credit cards are accepted, including Visa, Mastercard and American Express, etc. You can also pay by PayPal. Once the transaction is completed, you will be given a link to download the version with the "Powered by" links removed.

Purchase the "Powered-by" Removal License:

$10.00

Version History

  1. v1.0.15 (for Joomla 1.0), v1.5.15 (for Joomla 1.5), v1.6.15 (for Joomla 1.6), v1.7.15 (for Joomla 1.7), v2.5.15 (for Joomla 2.5), v3.0.15 (for Joomla 3.0 and above)
    Released Jul 23, 2017
    • Added tohere from current locaqtion (e.g. mobile GPS) using html5 geolocation

  2. v1.0.14 (for Joomla 1.0), v1.5.14 (for Joomla 1.5), v1.6.14 (for Joomla 1.6), v1.7.14 (for Joomla 1.7), v2.5.14 (for Joomla 2.5), v3.0.14 (for Joomla 3.0 and above)
    Released Jul 20, 2017
    • Support for responsive design!
    • For larger screen, the map and the direction will be placed side by side - map on the left, directions on the right
    • For smaller screen (e.g. mobile), the map will be displayed on the top and the directions below the map
    • For iPad and iPhone 6/7 Plus, the landscape mode will show the map and directions side by side, and the portrait mode will show the map on top and directions below.

  3. v1.0.11 (for Joomla 1.0), v1.5.11 (for Joomla 1.5), v1.6.11 (for Joomla 1.6), v1.7.11 (for Joomla 1.7), v2.5.11 (for Joomla 2.5), v3.0.11 (for Joomla 3.0 and above)
    Released Apr 20, 2017
    • Support for secured websites (https)
    • Support for PHP7
    • Support for different transportation mode - DRIVING / BICYCLING / TRANSIT / WALKING
  4. v1.0.10 (for Joomla 1.0), v1.5.10 (for Joomla 1.5), v1.6.10 (for Joomla 1.6), v1.7.10 (for Joomla 1.7), v2.5.10 (for Joomla 2.5), v3.0.10 (for Joomla 3.0 and above)
    Released Nov 16, 2016
  5. As of June 22, 2016, Google now requires everyone to have an API key in order to display Google Maps on your website. Details here.

    If you do not have the Google Maps API key, you will receive the following error message: Google Maps API warning: NoApiKeys .

    This latest version added support for Google Maps API key. Please obtain an API key from Google and then enter the API key in the Plugin Manager.

    Note that if you're using all the 3 plugins - the googleMaps, googleDirections and googleDirections - To Here plugins, you have to enter the Google Maps API Key for all the 3 plugins (in the Plugin Manager).

  6. v3.0.9 (for Joomla 3.0 and above)
    Released Dec 20, 2014
  7. Support for the latest Joomla 3.3.6!

  8. v1.0.8 (for Joomla 1.0), v1.5.8 (for Joomla 1.5), v1.6.8 (for Joomla 1.6), v1.7.8 (for Joomla 1.7), v2.5.8 (for Joomla 2.5)
    Released Feb 4, 2012
    • added support for Joomla 2.5
    • add flag w3c=1 => w3c compliant
    • support for IE7!
    • allow googleMaps to display in tabs
    • now allows address to include ' (apostrophe)
    • support for vertical alignment
  9. v1.0.7 (for Joomla 1.0), v1.5.7 (for Joomla 1.5), v1.6.7 (for Joomla 1.6), v1.7.7 (for Joomla 1.7)
    Released Jan 03, 2012
  10. Thanks to feedback from Florian who found out that the reverse geocode lookup by Google sometimes do not gives the right mapping. Have modified the code so that the googleDirections_tohere plugin now maps the exact location when latitude/longitude is given when specifying the "home position".

    One other new feature for this new version is that: the user can now press the Enter key (as oppose to pressing the "Get Directions" button) to get the directions to your home position.

  11. v1.0.7 (for Joomla 1.0), v1.5.7 (for Joomla 1.5), v1.6.7 (for Joomla 1.6), v1.7.7 (for Joomla 1.7), v2.5.7 (for Joomla 2.5)
    Released Jan 26, 2012
  12. Native version of the googleDirections - To Here - plugin for Joomla 2.5!

  13. v1.0.6 (for Joomla 1.0), v1.5.6 (for Joomla 1.5), v1.6.6 (for Joomla 1.6), v1.7.6 (for Joomla 1.7)
    Released Dec 24, 2011
  14. Support for multiple stopovers!

  15. v1.0.5 (for Joomla 1.0), v1.5.5 (for Joomla 1.5), v1.6.5 (for Joomla 1.6), v1.7.5 (for Joomla 1.7)
    Released Nov 15, 2011
  16. Now uses Google Maps API v3!

    Key advantages in Google Maps API v3 includes:

    • Built-in street view!
    • You no longer require the Google API Key - what this means is that you can now access the google maps from your local machine!
    • Google now provides road directions by bicycle!

  17. v1.0.4 (for Joomla 1.0), v1.5.4 (for Joomla 1.5), v1.6.4 (for Joomla 1.6), v1.7.4 (for Joomla 1.7)
    Released October 20, 2011
  18. Native version of the googleMaps plugin for Joomla 1.6 and Joomla 1.7!

    Also, support for PHP v5.3.8 for both Joomla 1.6 and Joomla 1.7.

  19. v1.0.4 (for Joomla 1.0) and v1.5.4 (for Joomla 1.5)
    Released June 15, 2010
  20. allow user to specify default country

    allow user to display multiple maps with to_here directions

  21. v1.0.3 (for Joomla 1.0) and v1.5.3 (for Joomla 1.5)
    Released October 1, 2009
  22. Fixed the bug: "Notice: Undefined variable: map_id in /var/www/html/rcl122/plugins/content/googleDirections_tohere/googleDirections_tohere.lib.php on line 126". Thanks to Rockiesrider for highlighting this.

  23. v1.0.2 (for Joomla 1.0) and v1.5.2 (for Joomla 1.5)
    Released August 15, 2009
  24. Fixed the bug: <br /> appears in destination. Thanks to Rentawebguy for highlighting this.

    Also allows the user to specify a default country. This is in response to Chriscundy's request.

    You can view a sample here.

  25. v1.0.1 (for Joomla 1.0) and v1.5.1 (for Joomla 1.5)
    Released July 24, 2009
  26. This is in response to Chris's request to allow multiple lines for the home label.

    For new lines, please use ~ (similar to that of the googleMaps plugin). Please refer to here for details.

Comments   

+1 # Patryk 2012-02-07 08:59
Hello this plugin is supperiour. But got three questions:
1/ How to turn on the bicycle mode?
2/ How to turn on street view?
3/ Can't get the label to be seen on map.
Reply | Reply with quote | Quote
+2 # kksou 2012-02-08 08:04
Hi,

For (1) How to turn on the bicycle mode?
Please refer to: Tutorial 03: Travel Modes www.kksou.com/php-gtk2/Joomla-Tips-Techniques/googleDirections-To-Here-plugin-Tutorial-03-Travel-Modes.php

For (2) How to turn on street view?
Did you see the yellow "Pegman" on the top left hand corner of the map? Click and drag that Pegman to the place you want to see the street view.
Details here: maps.google.com/help/maps/streetview/learn/using-street-view.html

For (3) Can't get the label to be seen on map
Please refer to: Tutorial 02: Adding Label to Home Address www.kksou.com/php-gtk2/Joomla-Tips-Techniques/googleDirections-To-Here-plugin-Tutorial-02-Adding-Label-to-Home-Address.phpa

Regards,
/kksou
Reply | Reply with quote | Quote
-1 # Patryk 2012-02-08 12:43
Thank you for response, sorry I missed to find those tuts on my own. Forum is a blog so I would write here my idea. It would be grat if to here plugin would have option to choose which navigatin use. For example with checkbox or select from walk car bicycle.
Reply | Reply with quote | Quote
+1 # Ericv24 2012-02-08 13:18
So, I put the latest version of the plugin on my site and it shows everything but the map. I only get a blue screen their. Am I missing something?

http://dimondtuxedo.cloudaccess.net/contact-us.html
Reply | Reply with quote | Quote
-2 # Patryk 2012-02-13 03:26
hey
I had the same problem, try to clean your vars from styles. F.e. copy paste to windows notepad and than back to your joomla.
Reply | Reply with quote | Quote
-1 # Patryk 2012-02-13 13:40
Ok so got another 2 questions.
1/ How to make label visible at start?
2/ How to make it to specify road from closest street?? Cos for now when I will put a close one street, it will show me a way from street with same name but in other town, mostly like 500miles further?
regards
Reply | Reply with quote | Quote
-1 # Charlene 2012-03-05 06:17
Hey there,

I'm using a Joomla version 1.5 and installed the correct version of this plugin corrosponding to my joomla but whenever I embed the code:{googleDir_tohere width=320 height=360 dir_width=275 home_addr="Handelstraat 9, 7817 RC Geesbrug, Nederland" lang=de}
The top of my page shows:
table.googleDirections_tohere td { font-family: Verdana, Arial, sans serif; font-size: 11px; margin: 2px; } table.googleDirections_tohere th { background-color:#EEEEEE; } table.googleDirections_tohere img { color: #000000; } table.googleDirections_tohere button { font-family: Verdana, Arial, sans serif; font-size: 11px; } table.googleDirections_tohere input { font-family: Verdana, Arial, sans serif; font-size: 11px; } Can't seem to get rid of this code not sure what I've done wrong here. Can ya help me pls?
Reply | Reply with quote | Quote
-1 # kksou 2012-03-05 17:37
Hi Charlene,

Have just emailed you a modified version that should make the codes disappear.

Do let me know if it works, ok?

Regards,
/kksou
Reply | Reply with quote | Quote
+1 # Nesa 2012-03-05 07:49
Hi there,

thanks for great plugin! I need to know is there a way to show multiple Direction To Here markers on same map. So to have one map, with two marks, is this posible?
Reply | Reply with quote | Quote
-2 # kksou 2012-03-05 17:17
Hi,

Do you want to elaborate what are you trying to achieve?

The plugin is for a simple purpose: You want to allow people to go from Point A to your place (Point B). There's only one Point B. So why should there be multiple markers?

Regards,
/kksou
Reply | Reply with quote | Quote
-1 # Christoph 2012-04-18 10:47
Hello,
Is it possible to add a Print-Route-button or an email-route-button after the route ist shown on the screen? because when i want to print it regular i have to print the complete page.
Thanks for an short answer if anyone knows some thing.

Greetings
Christoph
Reply | Reply with quote | Quote
0 # kksou 2012-06-08 00:08
Hi Christoph,

Sorry for not replying earlier. I actually tried to work on the feature, but it's not as easy as it seems. Google does not provide any API for this purpose, so you basically have to write the code yourself from scratch to achieve what you've mentioned.

Will let you know if I managed to get it working.

Regards,
/kksou
Reply | Reply with quote | Quote
+1 # Sigmund 2012-06-07 04:31
Hi
thanks for the plug in
i am using the googleDirection-tohere plug in.
I need to add a 3 mile radius from a postcode on the map and want to display a message to postcodes outside the 3 mile radius.

Thanks
Reply | Reply with quote | Quote
0 # kksou 2012-06-08 00:05
Hi,

This is a simple plugin with one purpose in mind: to give direction from Point A (one specified by user) to your designated place. It does not do other things, like the one your desired.

There are many other heavy-weight plugins which do very complicated stuff. You might want to try those in joomla.org and see if there's one that suit your needs.

Regards,
/kksou
Reply | Reply with quote | Quote
0 # mtjweb 2012-06-08 02:45
I've installed the Google Directions Tohere plugin on an purple background. When I hover over it, the plugin changes the background to white.

Any idea where I can change this. I don't want it to change the background.
Reply | Reply with quote | Quote
-1 # Dhanushka 2012-07-23 08:34
:roll:
thanks....
Reply | Reply with quote | Quote
+3 # Joad 2012-08-15 14:31
Please, at the backend, do I need to enter the API key? If yes, how do I get it. Sorry about this foolish question. I am a newbie here.
Thanks
Reply | Reply with quote | Quote
-1 # kksou 2012-08-15 15:12
No. With the latest googleMaps API v3, you do not need to enter the API key.

Regards,
/kksou
Reply | Reply with quote | Quote
-2 # Adam P 2012-09-26 08:22
I've downloaded the googleDirection - To Here plugin and would like to have the location bubble open automatically and have a logo in there...how would I go about doing that?
Reply | Reply with quote | Quote
-2 # vanaraj 2012-11-11 22:24
Hi
thanks for the plug in
i am using the googleDirection -tohere plug in.

how to remove the map description
Reply | Reply with quote | Quote
-2 # kksou 2012-11-14 18:53
Hi,

Would you please elaborate what do you mean by "map description"?

Regards,
/kksou
Reply | Reply with quote | Quote
0 # tm_1605 2012-11-19 05:13
is there any possibility to integrate a print-button?
Reply | Reply with quote | Quote
0 # Tomy 2012-12-10 12:27
Hi, I don't know if you know FlexiContent but it's a default CCK that works directly with Joomla default com_content to create items with various different layout and it even accept Joomla content plugins.

We purchase a subscription to have the powered by ...... to be removed on Google Directions To Here so that we can use this plugin with FlexiContent for all our categories but we can't get it to work, when we use the plugin, even in default Joomla article, we get the plugin code {google_Dir.... but the map is not showing, can you please assist us to make it working as we like this plugin very much!
Reply | Reply with quote | Quote
+3 # thomasg 2013-01-01 00:56
Hi nice plugin. I am adding this plugin to an older joomla 1.5 website and it works great only when I try to adjust the directions column width under this div - "gdir_tohere_gdir0" the google map directions ignores the set width and creates overlaping text and a bottom scroll bar I see it works fine on your site ( tested with firebug) DO you know what is causing this? Thanks
Reply | Reply with quote | Quote
-2 # bvmandy 2013-02-07 05:42
hey there

it seems that I don't get the plugin to understand my end address. the label stays in the middle of the south atlantic ocean. i also don't get directions.
I have tried it with an address and with lattitude and longtitude. this is my code

{googleDir_tohere width=400 height=360 dir_width=275 mode=driving home_lat=51.2322343, home_long=5.432169 home_label="Google Inc." lang=nl}
Reply | Reply with quote | Quote
0 # kksou 2013-02-07 06:54
Hi,

Please refer to the tutorial: googleDirections - To Here - plugin Tutorial 01: Getting Started

Please try the sample code there first and see if it works on your server.

If it works, then replace with your address.

Please also use the Google Geocoder v2.0, key in your address and double check that your longitude and latitude are correct.

Regards,
/kksou
Reply | Reply with quote | Quote
-1 # Shonn 2013-03-27 08:18
Is it possible to not ask this to do more, but actually less?

Could i get it to pull only the miles and travel time and nothing more?

Ignore the directions and the map just produce the simple miles apart and projected travel time?

I am comfortable with adjusting code if its even possible to do in this case.
Reply | Reply with quote | Quote
+1 # mattb 2013-04-17 09:07
Hello,

I have recently started using the To Here plugin for googleDirections and I have 2 questions regarding its function:

1) When the directions appear sometimes it is duplicated? Is there anyone to stop this from happening?
2)After the directions have been generated, I click on the print button within my Joomla page and it opens a new window to print from, however it is just the map without the directions and it requires you to reinsert the address you are coming from. Is it possible to have the print screen keep the original "Coming from" address in that print window along with the directions and map?

Thanks.
Reply | Reply with quote | Quote
-2 # kksou 2013-04-17 09:28
Hi,

1) Can you show me a url that displays this? Will need to do a view source of the page to gather more clues as to what might be the problem.

2) Currently joomla/google does not provide an API to do so.

Regards,
/kksou
Reply | Reply with quote | Quote
-2 # mattb 2013-04-17 09:58
Hello again,

Is there a seperate license required if this plug-in is used on our small company website?

Also, our site is not online yet and still under development. Is there an email I can send it to you not in a public forum?

Thanks again!
Reply | Reply with quote | Quote
-1 # prysmos 2013-05-03 01:37
Hi

This is a very nice and useful plugin,thank you for providing it for free. It works fine however I have a small glitch on my side. The direction talk bubble graphic is broken and the text is set to white which is not visible unless you highlight it. Here the sample image http://i43.tinypic.com/wmc5w.jpg

Just in case you need to look at codes here is the link of my site http://guesthousehuahinbdl.com/index.php/en/locations/get-direction/transportation

Thanks
Reply | Reply with quote | Quote
+2 # kksou 2013-05-06 02:04
Hi,

The entire googlemap is returned by google.com. It's not set in my plugin.

Please refer to googleMaps documentation

Search for "class InfoBoxOptions" and then the "boxClass" properties. You will see that the CSS is defined by "infoBox".

So try to set "infoBox" in your Joomla style sheet and see if you can change the font color or background color.

Regards,
/kksou
Reply | Reply with quote | Quote
0 # Afland 2013-08-11 11:23
;-) Very great job. Thanks for the job. I'd want to try google directions to here on a site in production with joomla3. Is there a version for joomla3?
Reply | Reply with quote | Quote
-2 # kksou 2013-08-13 07:42
Hi,

Sorry for the late reply. I'm currently on a business trip right now with little access to the internet.

Have just emailed you the google_directions_tohere plugin for Joomla 3.0.

Let me know if it works, ok?

Regards,
/kksou
Reply | Reply with quote | Quote
+2 # ThomasF 2013-08-14 05:15
Hi there,

This plugin looks great. I was just wondering if I can use this map on a website with a shop (I couldn't find a 'buy commercial license' button).

Regards,
Thomas
Reply | Reply with quote | Quote
+4 # FG 2013-08-15 08:41
don't know if you'll have time for that, but a great step to fit a nned of mine would be to get the stopovers from registered users addresses or a social component... and th eplugin to become a component for which one I'm ready to subscribe !!! Regards and thanx for sharing for free at this time, great plugin
Reply | Reply with quote | Quote
+2 # Christian Sosa 2013-08-23 08:03
8) Just Chipped in 7bucks my friend, do an update soon!
Reply | Reply with quote | Quote
+1 # kksou 2013-08-23 20:42
Hi Christian,

Have just emailed you.

Please let me know if you didn't receive it.

Regards,
/kksou
Reply | Reply with quote | Quote
-3 # LenaTime 2013-08-25 11:52
Great app! It's is really light-weight and relatively easy to install. I emailed you about a print function, but I see it is, or has, already been addressed several times. I will also send you a payment for each site I use it on. Though I hope the none print function may be show-stopper, so to speak. I hope not because I like how light and easy your product is. Anyway, do you have any plans for adding a print function?
Reply | Reply with quote | Quote
0 # LenaTime 2013-08-25 11:56
My last post wasn't very clearly written, but you get the jest of what I'm saying right? So not having a print feature may be a show-stopper for some of my clients. Not sure yet. I am hoping you'll be able to add a print feature! Thanks again for your great work!
Reply | Reply with quote | Quote
-1 # kksou 2013-08-26 17:05
Hi,

I know what you want. But problem is Google does not provide any API for this.

If you want to achieve that, you need to write quite a bit of code. I can do that if it's my own site, because I can add codes to my own page.

But to make it a generic Joomla plugin that runs on any site, it's a bit of a challenge, because I don't have write access to your page. I need to run some javascript when your page is loaded - this requires you to add some javascript to your page yourself. I don't think anyone knows how to do this, and everyone is comfortable doing this.

Have you tried any other module or plugin that have this functionality? If you can find one, let me know and I can see how others do it.

Regards,
/kksou
Reply | Reply with quote | Quote
-1 # SeanR 2013-12-11 07:12
Hello, I was wondering if you had a responsive version of this plugin?
Reply | Reply with quote | Quote
+2 # pam 2013-12-20 21:16
are you going to post a link to your joomla 3.x version?
Reply | Reply with quote | Quote
+4 # Follewagen 2014-01-09 21:58
Quoting Afland:
;-) Very great job. Thanks for the job. I'd want to try google directions to here on a site in production with joomla3. Is there a version for joomla3?


I have the same request? Would x2.5 work on a x3.2 site?
Reply | Reply with quote | Quote
+1 # Sean 2015-07-17 21:12
Hi,
We are using your googleDirections - To Here plugin in Joomla 2.5 (version 2.5.8) but need a responsive version. Is there one available?
Reply | Reply with quote | Quote
-1 # kksou 2015-07-18 04:07
Hi Sean,

Most of the plugins and modules you see here are those that I use on my own website. I thought it's quite useful and decide to share with the rest through joomla.org.

I'm ok with PHP programming, but not good in responsive design.

If anyone knows how to change this into a responsive design, please let me know, and I will be more than happy to add them into the code.

Thanks and Regards,
/kksou
Reply | Reply with quote | Quote
+2 # Alberto 2016-04-04 16:00
Hello
Excuse my English.
Is there any way that the texts "Coming from" and "Get Directions" can be translated to a site that is in Spanish and English
Thank you
Reply | Reply with quote | Quote
-1 # kksou 2016-04-07 15:52
Hi Alberto,

You can change the text to Spanish in the Plugins Manager - "googleDirections - To Here" in the following field:
1) Label - Coming from
2) Label - Get Directions

Warm Regards,
/kksou
Reply | Reply with quote | Quote
-1 # Pascal Bouman 2016-11-21 09:34
Hi.
I'm trying to use the googleDirections to here Plugin on my Joomla website with version 1.5.26. The installation was succesful. I have entered the following code into an article: [googleDir_tohere width=400 height=360 dir_width=275 home_addr="52.0176089, 5.435080299999981"]
When I load the webpage, the map is very shortly shown, but then after the map is gone and the website (dutch) announces:
Oeps! Er is iets misgegaan. (oeps, something went wrong)
Google Maps is niet correct geladen op deze pagina. (Google Maps was not loaded correctly on this page)Zie de JavaScript-console voor technische details.
(Check the JavaScript-console for technical details)

Can you help me with this?
Best regards,
Pascal Bouman
Reply | Reply with quote | Quote
0 # kksou 2016-11-28 09:09
Hi Pascal,

Have just sent you an email.

I used exactly the same code as yours. As you can see, the map seems to be displayed correctly.

Please take a look at the javascript console and let me know what error message you see there.

Warm Regards,
/kksou
Reply | Reply with quote | Quote
-2 # David 2016-12-14 05:18
Hi
Thanks for the tutorial. I now have the "From" field.

Is there any way to have the directions panel BELOW the map? The reason I ask is that the plugin does not act responsively so is of little use on a smartphone.

Regards, David
Reply | Reply with quote | Quote
0 # kksou 2016-12-16 23:19
Hi David,

Thanks for your feedback.

Yes, there have been quite a number of user requests on this too. I'm currently working on a new version to include other new features such as transit mode (e.g. by bus, subway, bicycle, etc.). Will also incorporate what you've suggested into the new version.

I have some time during this holiday season. Will try to get the new version out latest by Christmas.

Warm Regards,
/kksou
Reply | Reply with quote | Quote
+3 # Bob Martin 2017-01-18 16:07
Nice plug-in. I have been using it since 2013 without problem. However, it now does not display the map or get directions--possibly due to change in Google Maps API Key requirement. I'm running Joomla! 2.5.14 on GoDaddy. I have downloaded the most recent tohere package, enabled all three plug-ins, added to all three plug-ins the API key I got from google, and left this in the article field of my Get Directions page (which used to work): {googleDir_tohere width=100% height=400 dir_width=275 vertical=1 home_addr="304 West Park Street, Franklin PA 16323" home_label="Robert C. Martin Law Office~304 West Park Street~Franklin PA 16323"}. I can see that the code is being executed by the visibility and layout of the "coming from" textbox and "get directions" button, but no map, and the button doesn't get directions. Any suggestions?
Reply | Reply with quote | Quote
+1 # kksou 2017-01-19 05:36
Hi Bob,

I need more info to know where might be the problem.

Can you turn on the developer tools of your browser and take a look at the javascript console to see if you see any error message displayed there?

Alternatively, you can also let me know the URL of your webpage and I can go there to take a look.

Warm Regards,
/kksou
Reply | Reply with quote | Quote
+1 # Bob Martin 2017-01-19 22:10
I am tremendously impressed with the promptness of your response.
I inspected the page in Chrome and did see some errors but don't know what I might do with them.
You can see the page here: http://www.robertcmartinlawoffice.com (click on Get Directions link in the left column to go to the mapping page).
Thanks a million.
Reply | Reply with quote | Quote
-1 # kksou 2017-01-20 08:28
Hi Bob,

I did some googling. The error "TypeError: window.addEvent is not a function" seems to be common with Joomla sites using MooTools.
1) Is your Joomla template, or any of your plugins, using MooTools?
2) Does your Joomla template also load JQuery?
3) Which Joomla version is your site running?
Please let me know so that I can propose ways to resolve the errors.

Warm Regards,
/kksou
Reply | Reply with quote | Quote
+2 # Bob Martin 2017-01-20 11:02
kksou:
1) I've googled to try and find out but still don't know how to tell whether a template or plug-in is using MooTools. My Joomla template is JoomlaShine Epic Pro. The Joomla plug-in manager lists over 30 plug-ins--for most I have no idea what they do (I can send you a PDF of the listing if that would help).
2) Same answer.
3) 2.5.28, updated yesterday from 2.5.14--same map problem on both. I haven't tried Joomla 3.x yet since (a) I only succeeded late yesterday in updating to 2.5.28 (after a week of failing to use the update feature, I finally just force copied the patch files using FileZilla), and (b) I don't know yet if the Go Daddy server I am on supports 3.x.
I've tried running your plug-in with "Template uses JQuery" set to "Yes" and then to "No"--and get errors both ways. I just set it back to "Yes" so you can see the errors I get that way.
Beats me how you have the time to be so responsive, but I do appreciate it.
Best regards,
Bob Martin
Reply | Reply with quote | Quote
+2 # kksou 2017-01-21 16:06
Hi Bob,

1) If you do a view source of your web page and follow the link "/plugins/system/jch_optimize/cache/jscss.php?f=3bf7b1a915daa09456ccd6e528f2a0c4-cache-plg_jch_optimize-699a61285b80a12077214eed9c0cb490&type=js&gz=gz&d=30"

you will see the first line that says "this.MooTools={version:"1.4.5""

So your template is indeed using MooTools, as what I've suspected. Most of the other users encountering this error is also using MooTools.

2) I checked your "JoomlaShine Epic Pro" template website. I think they have an updated version for Joomla 3.0. May I know if you also upgraded your Joomla template, or you did not make any changes to the Joomla template (i.e. still using the same Joomla template for joomla 2.5.28)

3) I'm not too sure if your template uses jQuery. The default Joomla 3 template uses jQuery. You said your site is now running Joomla 3. But I do not see any line that loads the jQuery library.

By the way, you said that "I have been using it since 2013 without problem." Are you using the same "JoomlaShine Epic Pro" template since 2013? Did you change your joomla template from 2013 until now?

Warm Regards,
/kksou
Reply | Reply with quote | Quote
-3 # Barrett 2017-01-21 16:27
Thanks for getting back to me and for updating me on the situation. One interesting thing is when I go to the same site on a different server it works fine on my mobile devices when holding the phone landscape. Check it out http://aroostookmedia.com/ace/index.php/our-locations

I'll await notification when the update is available. Thanks.
Reply | Reply with quote | Quote
0 # Bob Martin 2017-01-22 12:26
kksou:
Your alerting me to the issue of conflict between mootools and jquery enabled me to find a solution. I installed the jqueryeasy plug-in and set it to disable mootools on my directions page. Your plug-in works on that page now.
Thanks for your add-in and your help.
Best regards,
Bob Martin
Reply | Reply with quote | Quote
+5 # kksou 2017-01-22 15:37
Hi Bob,

Just tried it on your web site. Yes, it's working!

Didn't know about the plugin "jqueryeasy". Learned something from you too!

Glad it's working for you now!

Warm Regards,
/kksou
Reply | Reply with quote | Quote
+2 # Stuart Newton 2017-06-11 13:57
Brilliant plugin, works a treat, the only thing missing, is a "Print" button, having this next to the "Get Directions" would complete this plugin to its fullest. 5 stars.... :lol:
Reply | Reply with quote | Quote
0 # kksou 2017-06-12 04:19
Hi Stuart,

Yes, there have been quite a number of requests to add the print function over the years.

Have tried it. But the Google Maps API does not provide a simple way to print the displayed map and directions.

If anyone has managed to get it working and do not mind sharing, please send me the code and I will add the print functionality to the new version to share with the rest of the people using this plugin.

Warm Regards,
/kksou
Reply | Reply with quote | Quote
0 # rene summers 2018-10-03 18:00
Is there a version to work on Joomla 3.8.x? the 3.0x version is not working.
Reply | Reply with quote | Quote
0 # kksou 2018-10-04 14:41
Hi Rene, this website is currently running on the latest Joomla 3.8.12. You can try the demo above. It's working fine...

Warm Regards,
/kksou
Reply | Reply with quote | Quote
-1 # GREG 2019-03-22 22:04
Hi,

I have installed all 3 plugins and when i enter my current location i get the error Google cannot decode your address:

Any help please
Reply | Reply with quote | Quote
-1 # kksou 2019-03-23 09:35
Hi Greg,

1) First, make sure you have entered the Google Maps API key. You can apply it here. Note that Google now requires that you enable billing. Details in that web page.

2) you are not in United States, then make sure you put in your country at the end of the address. Otherwise you will receive the error "Google cannot decode your address". E.g.
Code:googleMaps addr="Via Venti Settembre 25, 00187 Rome, Italy"
Note: please put in the curly bracket above. I didn't put in here because it will turn into a google map.

3) Try to make sure the googlemaps work first before testing googleDir or googleDir_to_here. The other 2 plugins run on top of googleMaps plugin. If the googleMaps plugin does not work, the other 2 plugins will also not work.

Please give the above a try and let me know if it works.

Warm Regards,
/kksou
Reply | Reply with quote | Quote

Add comment


Security code
Refresh