Small bug in Gallery

Phoca Gallery - image gallery extension
elot
Phoca Member
Phoca Member
Posts: 15
Joined: 14 Mar 2008, 15:28
Location: Netherlands
Contact:

Hello Jan,

Post by elot »

Hello Jan,

My wife just found a small bug in the admin section of the gallery.
If you have 3 gallery's (or more, but that is not importend now).
1) gallery has 10 pictures
2) gallery has 20 pictures
3) gallery has 25 pictures.

If you have chosen for 15 thumbs/links per page, the first gallery has only 1 page, the second and third gallery both have 2 pages.
You choose to edit the second gallery, go to page 2 and then see that you are ready on page 2.
Now you choose gallery 1 in the selection box on the right top corner and suddenly you don't see anything in this gallery.
If you choose the third gallery, then you see that you are on page 2 of the third gallery.
Switching back to gallery 1 still does not show anything, because phocagallery is trying to show page 2, but there is no page 2 in the first gallery

This happens for any gallery change if the target gallery has less pages then the page you are on at that moment.

But now we know and can work around it (first click on Start at the bottom, before any change of gallery
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, thank you for th

Post by Jan »

Hi, thank you for this info, I take a look at it... the problem is, that some pagination or category selection (top right) items on the site are generated from Joomla! framework, so I know about some bugs which I cannot fix...

I take a look at it if I can fix it.

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