Page 1 of 2

Phocagallery plugin not work

Posted: 09 Nov 2019, 14:41
by massikk
Hi, I've installed phoca gallery plugin and button, but when I insert code in article not show image.
I have Joomla, phoca gallery and plugin at last version.
Can you help me?

Re: Phocagallery plugin not work

Posted: 09 Nov 2019, 15:23
by christine
Hi,

sure, you have also: https://www.phoca.cz/documents/59-phoca ... ery-plugin ?
Phoca Gallery Button Plugin

Kind regards
Christine

Re: Phocagallery plugin not work

Posted: 09 Nov 2019, 15:27
by massikk
Yes, I have

Re: Phocagallery plugin not work

Posted: 09 Nov 2019, 15:54
by massikk
I can send you my admin login if you can help me :)

Re: Phocagallery plugin not work

Posted: 09 Nov 2019, 15:58
by Benno
Hi,
can you please post the Code, you tried to insert into the article?

Kind regards,
Benno

Re: Phocagallery plugin not work

Posted: 09 Nov 2019, 16:00
by massikk
{phocagallery view=category|categoryid=45|limitstart=0|limitcount=0}

Re: Phocagallery plugin not work

Posted: 09 Nov 2019, 16:48
by massikk
I look that only some category not work... other work correctly

Re: Phocagallery plugin not work

Posted: 09 Nov 2019, 16:57
by massikk
It's possibile that not work because file name contain space?
And if the problem is this, when I can correct?
I have more than 1000 images in phocagallery and change name of file in ftp and in component are hard.

Re: Phocagallery plugin not work

Posted: 09 Nov 2019, 17:30
by massikk
I think that I can insert in extension a rule that replace space in filename with %20 .... but I don't know how do it.

Re: Phocagallery plugin not work

Posted: 09 Nov 2019, 17:54
by massikk
I have solved!!!

If anyone have some problem add this rule in htaccess
# Replace spaces with hyphens
RewriteRule ^([^\ ]*)\ (.*)$ $1-$2 [E=rspace:yes,N]
# Redirect to update URL in search engine listings and browsers
RewriteCond %{ENV:rspace} yes
RewriteRule (.*) http://%{HTTP_HOST}/$1 [R=301,L]