googleMaps module
Written by kksou   
Wednesday, 22 April 2009

This is the module version of the googleMaps plugin.

This module allows you to include one or more google maps in a module position.

Very Important: This module makes use of the googleMaps plugin. So please make sure you have installed this plugin too for this module to work.

Latest Version

v1.6 (for Joomla 1.6), v1.7 (for Joomla 1.7), v2.5 (for Joomla 2.5)
Released March 3, 2012

Native version of the googleMaps module for Joomla 1.6, 1.7 and 2.5!

Live Demo

You can see live demos of the module here:

How to use the googleMaps module

Very Important: This module makes use of the googleMaps plugin. So please make sure you have installed this plugin too for this module to work.
  1. Download and install the module.
  2. Publish the module.
  3. Go to Modules Manager and click on the module.

  4. In the Modules Parameter, enter the Google Maps definition in the field Content. e.g.
  5., Inc.~
    1200 12th Avenue South~
    Seattle, Washington 98144-2734~
    Tel: (206) 266-1000
    {googleMaps lat=47.5923005 long=-122.3172946 zoom=12
    label=", Inc.~1200 12th Avenue South~Seattle, Washington 98144" 
    width=160 height=300}

    Note: ~ will be replaced with <br />. For Joomla 1.0, you do not need the <br />. For Joomla 1.5, you will need to manually enter the line break.

  6. The syntax of the menu items definition is exactly the same as that of the googleMaps plugin. Please refer to the article.




# maeke 2012-02-09 00:35
Hello kksou,
Are you planning to make a 2.5 Version of the googleMaps-module ?
+2 # kksou 2012-02-09 18:02

Will work on it this weekend.

Will let you know when it's done, ok?

# kksou 2012-03-11 16:07
The googleMaps module for Joomla 1.6, 1.7 and 2.5 is now available.

# maeke 2012-02-10 03:50
That's great. Thx.
+1 # kksou 2012-02-10 06:38

Have just emailed you the googleMaps module for Joomla 2.5.

Please let me know if it works fine, ok?

# maeke 2012-02-10 08:25
I have been able to install it. And it works fine.
Many thanks.
# Stephen Hulbert 2012-03-05 08:51
can i use google map with directions inside this module - i have tried and can't see to get the right code - i want the user to be able to add there address in to get to the specified location...?
thanks -steve
# kksou 2012-03-05 16:53

Need more details. e.g.
- what is the tag that you used?
- What did you see on the screen? Did the map appear? Did the input field appear?
- Did the plugin work within an article? (the module actually triggers the plugin. So please make sure you have installed the plugin.)
- If you can, please email me your URL so that I can do a view source to gather more clues as to what might be the cause.

# emy 2012-03-11 04:33
i have tried th tag {googleMaps lat=4.8284931 long=7.0151522 zoom=8 width=720 height=150} in module but seems not to work please i need you help thanks
# kksou 2012-03-11 16:03

I did a view source. Did you see any codes there.

1) Did you install the googleMaps plugin? The module requires the plugin to work.

2) Did you see any messages or any tags on the screen?

3) Can you create a test article somewhere on your server and put the above tags in an article? Let's see if the googleMaps plugin works at all on your server. The article will also allow us to do a view source to gather more clues as to what might be the problem.

# Renee 2012-03-27 09:51
can you make this plugin compatible with PHP 5.3 functions? I this module with PHP 5.2 on another server, but on my new server it displays errors, problems with other plugins.
# kksou 2012-03-27 17:24
Hi Renee,

I've tested this on my machine running PHP 5.3. It runs ok.

Every PHP settings in php.ini is different. What's the error messages that you see on the screen?

Also, you mentioned that it might be conflicts with your other plugins, in which case it will be difficult for me to help you here. Conflicts are very common in Joomla, as the Joomla framework is very loose.

There are no hard and fast rules to find out where are the conflicts. You have to do a bit of testing on your site (turning on and off the various plugins) to see which are the two conflicting ones. Then you have to decide which one to use, or try other plugins from to find two that can work together.

The method I used most often whenever there's conflicts is to install the plugin on a fresh copy of Joomla somewhere on my server. This will allow me to see if the plugin works on my machine at all. It's the simplest and surest way to see if it's problem with the plugin or problem with conflicts. By the way, conflicts can also occur with the Joomla templates. So always try running a plugin using the standard Joomla template. If it runs ok, I will switch over to my other Joomla template to see if there's any conflicts.

# picturworker 2012-05-30 10:08
I made a Joomla Upgrade from 1.5.21 to 1.5.26 and a Joomfish from 2.04 to 2.23 and the PHP was upgraded to 5.3.3.
Now the MapMod 1.5 do not work anymore.
The googleMapPlugin s works fine as you can see on
The main map should be under the mainnav as modul in a Position.
May you have some idea?
# kksou 2012-05-30 23:45

There are too many possibilities. It could be due to the Joomla upgrade. It could be due to the PHP upgrade. It could be due to conflicts with your other plugins and modules. There are just too many variables involved here.

Joomla is a very loose framework. So conflicts between plugins, modules and even Joomla templates, are very common. Even worse, it does not have any good debugging tools to help you find out what's the root cause of a problem. So it takes a little time and patience to resolve such issues.

As a start, would suggest you try to isolate some variables - finding out what works and what don't works.

e.g. If I were you, I will install a fresh joomla somewhere on the server and then install just the googleMaps module and plugins. This will allow me to see if Joomla 1.5.26 + PHP 5.3.3 works well with the plugin + module. If it works, I will keep installing other plugins and modules until I found the 2 plugins/modules/components that do not work together.

In any case, you need to do a bit more test and provide more details so that we have more clues to guess where might be the problem.

# Ant 2012-10-25 07:26
I have the plugin working fine inside an article, but the module won't work. I have it setup as described above, the same code in the plugin and module.
This is the error I get:
"Fatal error: Call to undefined method stdClass::toStr ing() in /homepages/36/d424967738/htdocs/business_sites/hannans/plugins/content/rokinjectmodule /rokinjectmodule .php on line 32"

Any help resolving this?
# kksou 2012-10-25 07:31

As you can see from the error message, the error did not occur in the googleMaps module. The error is from your other module: rokinjectmodule .

I'm not sure what rokinjectmodule plugin does. But try switching the order of the 2 plugins and you might make them work.

1) First try order googleMaps plugin before that of rokinjectmodule . e.g. if order of googleMaps plugin is 3. Make rokinjectmodule 4 or larger.

Make sure both are not 0. Assign some numbers to them.

2) If (1) still doesn't work, then make rokinjectmodule come before that of googleMaps .

Let me know if it works, ok?

# Ant 2012-10-25 07:46
I had noticed that rokinjectmodule was causing the issue, however it has only occured since I tried Google maps. I have disabled rokinjectmodule as it's not used. Now your extension works perfectly.
Thank you for a quick response, and this extension is brilliant.
# wred 2013-11-21 15:28
Are you planing to make plugin to display Google map in any content of site, for example Html-code module ?
< Prev   Next >

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2015. All Rights Reserved