Plugin doesn't work with sliders...

Phoca Gallery plugins - plugins for Phoca Gallery extension
ThiloS
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 16 Jul 2021, 11:15

Plugin doesn't work with sliders...

Post by ThiloS »

i found a strange behavior of the Gallery Plugin.

I use it many times on one single page. Additionally i use it inside so called sliders/accordions.

i tried Joomlashacks as well as Regular Labs extensions.
By having them activated, the Thumbnails of the Phoca Galery images won't open the Photoswipe layer. They will just do nothing : -)

By deactivating the slider plugins everything works fine.

So i managed the sliders to work just with pure CSS - without any third-party plugin.

But even here, when having those CSS-Sliders working, Phoca Galery-Images won't show up by clicking on a thumbnail.
As soon as i delete the CSS Code (and the sliders won't work anymore) - phoca works as supposed.

Here is a link:
https://dev.toscanaferien.it/de/ferienh ... quila.html

Any idea?
ThiloS
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 16 Jul 2021, 11:15

Re: Plugin doesn't work with sliders...

Post by ThiloS »

Solved it by deactivating all phoca-prompts and then reactivating it one by one...

There was ONE Phoca-gallery-category which caused the issue.

By creating an new category and importing the same images to the new cat - the problem was solved.

EDIT:

Sorry - i DIDN'T solve it ... It worked ONE time ... and then - even with the new category - same procedure...

is there maybe a max. of images per page? or a max. of displayed categories on each page?

And i just reach that maximum with that category?

Here is the same content - just without the last phoca-gallery-category. So basically the same site - here it works.

https://dev.toscanaferien.it/de/test.html
ThiloS
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 16 Jul 2021, 11:15

Re: Plugin doesn't work with sliders...

Post by ThiloS »

All right - i found a work-around.

The problem seems to be the

div class: pswp

If that div is placed inside a slider (no matter if joomla plugin or "handmade"), the whole thing doesn't seem to work.

So it's important to place the LAST Gallery-Category-Overview on a page outside of any slider...

The pswp will be placed directly after the last gallery-overview. So i just placed another one at the end of the side - and without a slider wrapped around...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin doesn't work with sliders...

Post by Jan »

Hi, thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply