Phoca Gallery Plugin parameters confusion (e.g. detail)

Phoca Gallery plugins - plugins for Phoca Gallery extension
Destroy666
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 19 Mar 2024, 11:27

Phoca Gallery Plugin parameters confusion (e.g. detail)

Post by Destroy666 »

https://www.phoca.cz/documentation/77-p ... ery-plugin - according to this, `detail` argument should change how the bigger images are displayed, for instance. But I changed it to all the numbers and it didn't change anything. Currently it's set to:

Code: Select all

{phocagallery view=category|categoryid=2|detail=6}
What am I missing?

Also, how can you change the CSS of the plugin? For example add an icon on hover on the images or change the background that pops up to be transparent.

Example: https://www.lenkraddesign.eu/oferta/kierownice-gotowe
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48053
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Plugin parameters confusion (e.g. detail)

Post by Jan »

Hi, no, detail argument just set the type of detail windows (a lot of them were remomed in latest version due to not having responsivity).

You can change CSS in your user.css/custom.css of your template. Such files are here for custom changes in CSS and are not overwritten by update. Styles in this files can then influence whole Joomla, including Phoca Gallery plugin.

Jan
If you find Phoca extensions useful, please support the project
Destroy666
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 19 Mar 2024, 11:27

Re: Phoca Gallery Plugin parameters confusion (e.g. detail)

Post by Destroy666 »

Ok, so no detail scripts are available? Probably should update documentation in that case.

Thanks, I'll check the override.
Destroy666
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 19 Mar 2024, 11:27

Re: Phoca Gallery Plugin parameters confusion (e.g. detail)

Post by Destroy666 »

I'm still very confused about the detail part. Right now some of my articles started showing this:
https://beeimg.com/images/m96136060271.png

E.g.
https://lenkraddesign.eu/oferta/dywaniki-samochodowe
https://lenkraddesign.eu/blog/poradniki ... nicy-skora

Full box is shown here:
https://beeimg.com/images/f81691860602.png

E.g.
https://lenkraddesign.eu/oferta/kierown ... iezarowych
Also gallery itself is using this.

While all are using detail=6 parameter. What's going on? Why do they display differently?

Could you also tell which detail param possibilities are not removed and possible to use in latest Joomla 4 version, please? E.g. 1, 6 And which parameters from these are usable in general: phoca.cz/documentation/77-phoca-gallery/14-phoca-gallery-plugin/58-displaying-phoca-gallery-plugin As many seem to be ignored.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48053
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Plugin parameters confusion (e.g. detail)

Post by Jan »

Hi, the detail parameter was moved to plugin options:

Image

and as you can see, there is only one method, Photoswipe as only this method meets modern requirements

On your site, I don't get the Photoswipe working, maybe there is some Javascript conflict which prevents it from displaying :idea:

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