Photoswipe bug - multiple use on one page
Posted: 31 May 2017, 06:36
Hi,
i don't know if it's bug or purpose. But Photoswipe function only on one gallery to page. For multiple use on one page i modified
row 1883
to
and photoswipe function ok when multiple use on one page
i don't know if it's bug or purpose. But Photoswipe function only on one gallery to page. For multiple use on one page i modified
row 1883
Code: Select all
if ($tmpl['detail_window'] == 14) {
$output .= PhocaGalleryRenderDetailWindow::loadPhotoswipeBottom();
}
Code: Select all
if ($count_matches-1 == $i)
{
if ($tmpl['detail_window'] == 14) {
$output .= PhocaGalleryRenderDetailWindow::loadPhotoswipeBottom();
}
}