Phoca gallery plugin with magnific (image only) not work
Posted: 20 Dec 2015, 00:12
Hi,
Atm when I want to run phoca gallery plugin with and use maginific (image only) each image will open in new window with phoca gallery buttons under it.
This is caused by
- differen styles rendered by plugin
- jQuery('#pg-msnr-container').magnificPopup is not rendered in plugin.
By updating two files:
renderdetailwindow.php line 428
$js[] = ' jQuery(\'.phocagallery\').magnificPopup({';
and phocagallery.php line 1419
$output .= ' href="'.$imgLink.'"';
we can teporarily trigger all plugins with maginific (image only) and fix links.
is there a way to fix it?
Kind regards,
Simon
Atm when I want to run phoca gallery plugin with and use maginific (image only) each image will open in new window with phoca gallery buttons under it.
This is caused by
- differen styles rendered by plugin
- jQuery('#pg-msnr-container').magnificPopup is not rendered in plugin.
By updating two files:
renderdetailwindow.php line 428
$js[] = ' jQuery(\'.phocagallery\').magnificPopup({';
and phocagallery.php line 1419
$output .= ' href="'.$imgLink.'"';
we can teporarily trigger all plugins with maginific (image only) and fix links.
is there a way to fix it?
Kind regards,
Simon