(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; };