Hi All !
if someone have a problem when using googlemap plugin and fancybox (and other jquery lightbox, I18N Galery plugin) like no lightbox, I found how to fix it and continue to use both of them !
The first way presented by Mvlcek, was to delete the line :
$jQ = jQuery.noConflict();
You can find it in googlemap.php (in pugin directory) at line 101. But if you've deleted it directly in this googlemap plugin's files, it doesn't work anymore.
So to resolve this problem follow these steps :
Open the file googlemap.php
Find :
function gmap_include_check($contcomp = false)
---> normaly you'll find it at line 460
Find In this function :
if (strpos($contcomp, 'gmap_') === false ){ $contcomp = false; };
Replace it by :
if (strpos($contcomp, 'gmap_') == false ){ $contcomp = false; };
And find :
if (strpos($data_index->content, '(%googlemap') === false AND $contcomp === false){ return false; };
replace it by :
[undefined=undefined]if (strpos($data_index->content, '(%googlemap') == false AND $contcomp == false){ return false; };
Save the file, upload it on your server.
I've tested it and the googlemap plugin and I18Gallery are working perfectly.
Someone can test it and confirm that this fix works ?
Thanks you ! (sorry for my english)
if someone have a problem when using googlemap plugin and fancybox (and other jquery lightbox, I18N Galery plugin) like no lightbox, I found how to fix it and continue to use both of them !
The first way presented by Mvlcek, was to delete the line :
$jQ = jQuery.noConflict();
You can find it in googlemap.php (in pugin directory) at line 101. But if you've deleted it directly in this googlemap plugin's files, it doesn't work anymore.
So to resolve this problem follow these steps :
Open the file googlemap.php
Find :
function gmap_include_check($contcomp = false)
---> normaly you'll find it at line 460
Find In this function :
if (strpos($contcomp, 'gmap_') === false ){ $contcomp = false; };
Replace it by :
if (strpos($contcomp, 'gmap_') == false ){ $contcomp = false; };
And find :
if (strpos($data_index->content, '(%googlemap') === false AND $contcomp === false){ return false; };
replace it by :
[undefined=undefined]if (strpos($data_index->content, '(%googlemap') == false AND $contcomp == false){ return false; };
Save the file, upload it on your server.
I've tested it and the googlemap plugin and I18Gallery are working perfectly.
Someone can test it and confirm that this fix works ?
Thanks you ! (sorry for my english)