Page 1 of 1

Plugin doesn't work with sliders...

Posted: 09 Oct 2024, 13:58
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?

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

Posted: 09 Oct 2024, 16:04
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

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

Posted: 09 Oct 2024, 19:35
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...

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

Posted: 14 Oct 2024, 18:03
by Jan
Hi, thank you for the info.

Jan