2013-08-30, 23:39:55
(2013-04-15, 00:34:25)MarcinN Wrote:(2013-04-13, 23:35:05)sbollaerts Wrote: Hello,edit:
I discovered that when the plugin "Google maps" is activated, clicking on a picture does not work correctly anymore: seems that the jscript is not executed.
I'm newbie and I cannot figure out how to bypass the problem.
I tried to reorder the loading of plugins (with Plugin reorder) but it did not help.
Any idea would be appreciated.
Serge
in file googlemap.php find and replace:
find:
if($maps > 0){
change:
if($maps > 0 && $GETIMGSIZEJS != ""){
find :
if (strpos($contcomp, 'gmap_') === false ){ $contcomp = false; };
Replace:
if (strpos($contcomp, 'gmap_') == false ){ $contcomp = false; };
find :
if (strpos($data_index->content, '(%googlemap') === false AND $contcomp === false){ return false; };
replace:
if (strpos($data_index->content, '(%googlemap') == false AND $contcomp == false){ return false; };
Thanks a lot MarcinN! After having messed around half night with this I also find out that this last upgrade from Google Map was the culprit. Also note that the box 'Do not include jQuery' in the Gallery Settings must NOT be ticked, at least that did the trick for me.
Actually I think this post should appear somewhere on the Google Map plugin page or simply this bug should be fixed by the author...
Anyway I'm happy I could find a solution!!