PHOCA GALLERY BUTTON: wrong number of pics

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
abs
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 22 Sep 2009, 10:21

PHOCA GALLERY BUTTON: wrong number of pics

Post by abs »

A minor error found.
For example, there are 10 images in a Phoca Catalog. If I press Phoca Gallery Button to insert a code and choose all images it would insert only 9 images in my article. There is because of different counts: PG Button Plugin starts to count images from 1 while Phoca Galler Plugin starts it from 0 (from zero).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PHOCA GALLERY BUTTON: wrong number of pics

Post by Jan »

Hi, sorry I don't understand. Where you can set all images in Phoca Gallery Button Plugin?
If you find Phoca extensions useful, please support the project
abs
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 22 Sep 2009, 10:21

Re: PHOCA GALLERY BUTTON: wrong number of pics

Post by abs »

Oh, please excuse my bad english...

Example.
Ther are 10 photos in a Phoca Gallery category. I want to add all of them to a text article. I use Phoca Gallery Plugin Button. I set Limit Start = 0 and Limit Count = 9.
Phoca Gallery Plugin Button generates the follow code:

Code: Select all

{phocagallery view=category|categoryid=54|limitstart=0|limitcount=9}
As you can see it writes limitcount=9; but there are 10 pictures in category. I cannot set Limit Count = 10 because it shows only 9. That is error, is should be 10.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PHOCA GALLERY BUTTON: wrong number of pics

Post by Jan »

Hi, yes I now see it, thank you for this information, I will fix it in the next version.

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