Problem with google maps in Joomla! latest version

Stéphane
41 Posts
Stéphane posted this 27 June 2016

Hi,
I am usin BT Google Maps or GMapFP and get the same Javascript error :

enter image description here

Javascript error... see Javascript console... what I have done and here's the result :

enter image description here

those extensions were working on an older version using an Artisteer version of the template...
Is there any chance that Themler causes those problems ?

If you have any idea about what's happening here, please let me know and also forgive me my English it is not my mother language.

-----EDIT---
Forgot to say that I am working on a virtualized server. A bad working joomla backup is on line on a test server...
-----Edit end-------

Many thanks in advance.
Stéphane

Hi, I am usin BT Google Maps or GMapFP and get the same Javascript error : ![enter image description here][1] Javascript error... see Javascript console... what I have done and here's the result : ![enter image description here][2] those extensions were working on an older version using an Artisteer version of the template... Is there any chance that Themler causes those problems ? If you have any idea about what's happening here, please let me know and also forgive me my English it is not my mother language. -----EDIT--- Forgot to say that I am working on a virtualized server. A bad working joomla backup is on line on a test server... -----Edit end------- Many thanks in advance. Stéphane [1]: https://s31.postimg.org/v1efsl89n/2016_06_27_12h18_35.png [2]: https://s31.postimg.org/ixchxjawb/2016_06_27_12h19_38.png

Last edited 27 June 2016 by Stéphane

Vote to pay developers attention to this features or issue.
12 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 27 June 2016

Hi,

Does those extension work with the default Joomla theme?

Sincerely,
Hella

Hi, Does those extension work with the default Joomla theme? Sincerely, Hella
Stéphane
41 Posts
Stéphane posted this 27 June 2016

Hi Hella,

As I said they're working without any problem on a artisteer (latest version) in junction with tree other extensions.
And I'm sure on standard templates as well as per informations on their respective home pages :

in conjunction with :
- https://www.omegatheme.com/joomla/extensions/285-ot-accordion-slide
- http://extensions.joomla.org/extensions/extension/site-management/cookie-control/cookie-accept
- http://extensions.joomla.org/extensions/extension/news-display/articles-display/junewsultra-pro
- http://extensions.joomla.org/extensions/extension/photos-a-images/slideshow/bt-simple-slideshow

The site i've created a year ago with artisteer and all those extensions is working perfectly.
Recreating the template under themler causes Google maps to hang. The other extensions are working well

Thanks in advance for you advise and help
Stéphane

Hi Hella, As I said they're working without any problem on a artisteer (latest version) in junction with tree other extensions. And I'm sure on standard templates as well as per informations on their respective home pages : - http://extensions.joomla.org/extensions/extension/maps-a-weather/maps-a-locations/gmapfp-google-map - http://extensions.joomla.org/extension/bt-google-maps in conjunction with : - https://www.omegatheme.com/joomla/extensions/285-ot-accordion-slide - http://extensions.joomla.org/extensions/extension/site-management/cookie-control/cookie-accept - http://extensions.joomla.org/extensions/extension/news-display/articles-display/junewsultra-pro - http://extensions.joomla.org/extensions/extension/photos-a-images/slideshow/bt-simple-slideshow The site i've created a year ago with artisteer and all those extensions is working perfectly. Recreating the template under themler causes Google maps to hang. The other extensions are working well Thanks in advance for you advise and help Stéphane
Stéphane
41 Posts
Stéphane posted this 27 June 2016

I have also tried to assign a blank Themler template to the relevant Google maps page (The extension is called inside an article with {loadposition x} without any success. I am getting the same JavaScript error.

The google maps extensions are the only ones called like this in an article... Isn't that maybe the problem ?

Thanks in advance for your help and advise,
Stéphane

I have also tried to assign a blank Themler template to the relevant Google maps page (The extension is called inside an article with {loadposition x} without any success. I am getting the same JavaScript error. The google maps extensions are the only ones called like this in an article... Isn't that maybe the problem ? Thanks in advance for your help and advise, Stéphane
Stéphane
41 Posts
Stéphane posted this 28 June 2016

Hi Hella,

How can I add the below shown script to the header of the template in Themler ?

I have found the solution of the problem ! It has nothing to do with Themler at all ! it is just coincidences !
The solution is :

Google changed the rules for new sites using their API's ! New sites do require an API key ! to do so just follow the steps :

Fixed! you have to create an api key for google maps and insert this code on the header of the template

<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY"
  type="text/javascript"></script>

here you can find how to do it
https://developers.google.com/maps/documentation/javascript/get-api-key

Original Post an Credits :
http://bowthemes.com/forums/topic/8256-google-map-does-not-work-after-moving/?do=findComment&comment=33772

Hi Hella, How can I add the below shown script to the header of the template in Themler ? I have found the solution of the problem ! It has nothing to do with Themler at all ! it is just coincidences ! The solution is : Google changed the rules for new sites using their API's ! New sites do require an API key ! to do so just follow the steps : Fixed! you have to create an api key for google maps and insert this code on the header of the template <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY" type="text/javascript"></script> here you can find how to do it https://developers.google.com/maps/documentation/javascript/get-api-key Original Post an Credits : http://bowthemes.com/forums/topic/8256-google-map-does-not-work-after-moving/?do=findComment&comment=33772

Last edited 28 June 2016 by Stéphane

Stéphane
41 Posts
Stéphane posted this 28 June 2016

I have tried the Insert/More/CMS Code feature in Themler.

After getting my navigator Google API key
Removing all the suggested code, I inserted the following code with replacing the YOUR_API_KEY with MY_API_KEY

<script src="https://maps.googleapis.com/maps/api/js?key=MY_API_KEY"
  type="text/javascript"></script>

And it worked just right away !

Hope this can help other users

I have tried the Insert/More/CMS Code feature in Themler. After getting my navigator Google API key Removing all the suggested code, I inserted the following code with replacing the `YOUR_API_KEY` with `MY_API_KEY` <script src="https://maps.googleapis.com/maps/api/js?key=MY_API_KEY" type="text/javascript"></script> And it worked just right away ! Hope this can help other users

Last edited 28 June 2016 by Stéphane

Support Team
Support Team posted this 29 June 2016

Hi,

I'm terribly sorry for the delay in responding. Nice to hear that it finally worked out.

Sincerely,
Hella

Hi, I'm terribly sorry for the delay in responding. Nice to hear that it finally worked out. Sincerely, Hella
Stéphane
41 Posts
Stéphane posted this 29 June 2016

Hi,

I'm terribly sorry for the delay in responding. Nice to hear that it finally worked out.

Sincerely,
Hella

No problem Hella.

But for your information, I had to use "Load module in article" extension (http://extensions.joomla.org/extensions/extension/core-enhancements/coding-a-scripts-integration/load-module-into-article)
in order to have it shown inside an article.
The Joomla! {loadposition x} or {loadmodule x} doesn't work.

Hope this helps,
Stéphane

> Hi, > > I'm terribly sorry for the delay in responding. Nice to hear that it finally worked out. > > Sincerely, > Hella No problem Hella. But for your information, I had to use "*Load module in article*" extension ([http://extensions.joomla.org/extensions/extension/core-enhancements/coding-a-scripts-integration/load-module-into-article][1]) in order to have it shown inside an article. The Joomla! `{loadposition x}` or `{loadmodule x}` doesn't work. Hope this helps, Stéphane [1]: http://extensions.joomla.org/extensions/extension/core-enhancements/coding-a-scripts-integration/load-module-into-article
Support Team
Support Team posted this 30 June 2016

Hello Stephane,
thank you for your details.
The topic is public, so other users may see your solution.

regards,
Aileen

Hello Stephane, thank you for your details. The topic is public, so other users may see your solution. regards, Aileen
Stéphane
41 Posts
Stéphane posted this 30 June 2016

Hello Stephane,
thank you for your details.
The topic is public, so other users may see your solution.

regards,
Aileen

Your welcome.

> Hello Stephane, > thank you for your details. > The topic is public, so other users may see your solution. > > regards, > Aileen Your welcome.
bubmellz1born
1 Posts
bubmellz1born posted this 30 November 2016

Hello, please am using a BT property template and my property map(google map ) is showing this same error,please i have gotten my google API code but not sure where to paste it in the template,skindly help.
Thanks

Hello, please am using a BT property template and my property map(google map ) is showing this same error,please i have gotten my google API code but not sure where to paste it in the template,skindly help. Thanks
Stéphane
41 Posts
Stéphane posted this 30 November 2016

Hello, please am using a BT property template and my property map(google map ) is showing this same error,please i have gotten my google API code but not sure where to paste it in the template,skindly help.
Thanks

Hi,

If you look at my credit link a few post up, and clic on it, you will seee that it has to be placed in the <header> of the page... It is a script...

Regards
Stéphane

> Hello, please am using a BT property template and my property map(google map ) is showing this same error,please i have gotten my google API code but not sure where to paste it in the template,skindly help. > Thanks Hi, If you look at my credit link a few post up, and clic on it, you will seee that it has to be placed in the &lt;header&gt; of the page... It is a script... Regards St&#233;phane

Last edited 30 November 2016 by Stéphane

Support Team
Support Team posted this 01 December 2016

@ bubmellz1born,
have you managed with the issue?
The solution recommended by Stephane should work.

regards,
Aileen

@ bubmellz1born, have you managed with the issue? The solution recommended by Stephane should work. regards, Aileen
You must log in or register to leave comments