2012-04-09, 04:31:26
Hi !
I found an incompatibility between the plugin "DM contactable" and "fancybox plugin".
When the two are enabled, fancybox features do not work.
Deepening research, the problem seems to be in the file DM_Contactable.php:
If we remove this "register" script :
Fancybox works but sending mail with "DM_Contactable" doesn't work yet...
Thanks for your help !
I found an incompatibility between the plugin "DM contactable" and "fancybox plugin".
When the two are enabled, fancybox features do not work.
Deepening research, the problem seems to be in the file DM_Contactable.php:
Code:
function DM_contactable_doheader(){
register_script('contactable','/plugins/DM_contactable/js/jquery.contactable.js', '1.2.1', FALSE);
register_script('contactable-validate', '/plugins/DM_contactable/js/jquery.validate.pack.js', '1.5.1', FALSE);
register_style('contactable-css','/plugins/DM_contactable/css/contactable.css','1.2.1','screen');
queue_script('jquery', GSFRONT);
queue_script('contactable', GSFRONT);
queue_script('contactable-validate', GSFRONT);
queue_style('contactable-css', GSFRONT);
}
If we remove this "register" script :
Code:
register_script('contactable-validate', '/plugins/DM_contactable/js/jquery.validate.pack.js', '1.5.1', FALSE);
Fancybox works but sending mail with "DM_Contactable" doesn't work yet...
Thanks for your help !