galery render only for administrator

Phoca Gallery plugins - plugins for Phoca Gallery extension
micker
Phoca Member
Phoca Member
Posts: 30
Joined: 02 Jul 2012, 18:52

galery render only for administrator

Post by micker »

hello
i already us phoca galery and this plugins
i add a custom module + saort code {pgslideshow id=1|width=1000|height=350|delay=1000|pause=8000|image=O|imageordering=9}
that works great in j3
i update in j4 + phoca + this plugin
now image is only display if i am connected to front-end ...
i check galery all seems good (acl etc)
exemple here https://www.clubalpintoulouse.fr/ (free space in top)
regards
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9440
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: galery render only for administrator

Post by Benno »

Hi,
1.)
i update in j4 + phoca + this plugin
see: https://www.phoca.cz/download/66-phoca- ... how-plugin
Till now there is no Phoca Gallery Slideshow Plugin for J4 available.

2.)
In the source code of your website I don't find anything from Phoca Gallery, but css from Ignite Gallery:

Code: Select all

<link href="/media/com_igallery/css/lib-42.css" rel="stylesheet" />
<link href="/media/com_igallery/css/ignitegallery-42.css" rel="stylesheet" />
:idea:

Kind regards,
Benno
micker
Phoca Member
Phoca Member
Posts: 30
Joined: 02 Jul 2012, 18:52

Re: galery render only for administrator

Post by micker »

sorry myabe a mistake
gellery plugin existing for j4
https://www.phoca.cz/download/66-phoca- ... ery-plugin
if you check code you can see div with phocagalleryslideshow class
=> no image for invit
=> image slidshow is render for connected user
https://www.screenpresso.com/fr/cloud/EHv2b/
https://www.screenpresso.com/fr/cloud/v5SJf/
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9440
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: galery render only for administrator

Post by Benno »

Hi,
unfortunately I can not explain it better than I have already done above:

Your code: {pgslideshow id=1|width=1000|height=350|delay=1000|pause=8000|image=O|imageordering=9} is to my knowledge Phoca Gallery Slideshow Plugin code and therefore cannot work because there is no Phoca Gallery Slideshow Plugin for J4.

Phoca Gallery Plugin code looks like: {phocagallery view=.......}

Kind regards,
Benno
micker
Phoca Member
Phoca Member
Posts: 30
Joined: 02 Jul 2012, 18:52

Re: galery render only for administrator

Post by micker »

hi that very strange plugin works only in registred view and not in public
{phocagallery view=.......} cant display slideshow that problem
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: galery render only for administrator

Post by Jan »

Hi, check the plugin options for access parameter:

Image

Jan
If you find Phoca extensions useful, please support the project
micker
Phoca Member
Phoca Member
Posts: 30
Joined: 02 Jul 2012, 18:52

Re: galery render only for administrator

Post by micker »

yes already checked same behavior
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: galery render only for administrator

Post by Jan »

This is the only one option for the plugin, so if it is set to public and it is not displayed in public article, then check if your system does not use another rights management. Is the category (image category) you want to display public?

Jan
If you find Phoca extensions useful, please support the project
micker
Phoca Member
Phoca Member
Posts: 30
Joined: 02 Jul 2012, 18:52

Re: galery render only for administrator

Post by micker »

i found its a cache problem if i actived any cache systeme (progress and conservator) => that not display for unlogged user
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: galery render only for administrator

Post by Jan »

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