Pagination Question

Phoca Gallery - image gallery extension
mvcracco
Phoca Member
Phoca Member
Posts: 12
Joined: 14 May 2009, 16:41

Pagination Question

Post by mvcracco »

Sorry, I searched and just can't find the answer.

I have upwards of 100 pictures per gallery. I see where I can adjust the number of thumbnails displayed per page. I want to set this to say 20 thumbnails per page (default) but have page numbers displayed to flip to the next page. PAgination, right? I see Pagination Thumbnail Creation Yes/No in Parameters but this doesn't do it.

How can I add page numbers to my galleries?

Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination Question

Post by Jan »

Do you mean pagination in Categories View (category list) or in Category View (image list)?

Jan
If you find Phoca extensions useful, please support the project
mvcracco
Phoca Member
Phoca Member
Posts: 12
Joined: 14 May 2009, 16:41

Re: Pagination Question

Post by mvcracco »

Image List that the end user sees. But before that I just pulled the plug on Phoca which is a real pisser. IT worked perfectly in Firefox and no problems with IE8 on my machine, but I as I went to test on some client machines Phoca Gallery was crashing the browser with the Operation Aborted message. I tried the behaviour.php file mod (from whatever to 'loader') but that did not fix the issue. Bummer as I had quite a bit of time in and it did the job nicely. But IE is on everyone's desktop so Phoca has to work with it. Any suggestions?
mvcracco
Phoca Member
Phoca Member
Posts: 12
Joined: 14 May 2009, 16:41

Re: Pagination Question

Post by mvcracco »

BTW, what I had done in \libraries\joomla\html\html\behavior.php was in line ~155 change:

window.addEvent('domready', function() {
to
window.addEvent('load', function() {

But see in another post someone changed:

~line 108
$tooltipInit = ' window.addEvent(\'domready\', function(){ var JTooltips = new Tips($$(\''.$selector.'\'), '.$options.'); });';
to
$tooltipInit = ' window.addEvent(\'load\', function(){ var JTooltips = new Tips($$(\''.$selector.'\'), '.$options.'); });';

There are maybe 4 'domready' entries in this file. Do all need to be changed to 'load'?

Is this issue in the Menu Module or Phoca Gallery itself?
mvcracco
Phoca Member
Phoca Member
Posts: 12
Joined: 14 May 2009, 16:41

Re: Pagination Question

Post by mvcracco »

Looks like the entire problem was with Menu Manager. I reinstalled Gallery only this time with Tree View and everything is working great. Maybe something funky was happening with my first Gallery install but I really thing Menu Mod was the problem.
mvcracco
Phoca Member
Phoca Member
Posts: 12
Joined: 14 May 2009, 16:41

Re: Pagination Question

Post by mvcracco »

So.....to get back to my original issue...page numbers appear just fine working in the galleries or what ever in the admin section. But when a user is looking at a page of thumbnails they will only see the default number (20, 50, whatever). There is no page number at the bottom to allow users to get to the next page of thumbnails.

Thanks.
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Pagination Question

Post by caro84g »

Hi,

go to your menu item, basic parameters (first box on the right) and set 'show pagination' to yes.
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
mvcracco
Phoca Member
Phoca Member
Posts: 12
Joined: 14 May 2009, 16:41

Re: Pagination Question

Post by mvcracco »

But there is no menu item. The list is published via the tree view module and it had no options for pagination. Nor does the category that the tree module displays. I'm just not seeing it.
pamka
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 19 May 2009, 18:26

Re: Pagination Question

Post by pamka »

caro84g wrote:Hi,

go to your menu item, basic parameters (first box on the right) and set 'show pagination' to yes.
Hye Caro... sorry but i can't find this "show pagination" ?
When i am on pHoca Gallery Control Panel, i see on the right parameters and helps in the backend and in parameter no box "show pagination" ???

Can u help me plz because i have the same problem ... no pagination in the bottom of my list
mvcracco
Phoca Member
Phoca Member
Posts: 12
Joined: 14 May 2009, 16:41

Re: Pagination Question

Post by mvcracco »

pamka is looking at Parameters dialog from Gallery Control Panel which displays global settings. In that dialog there is a section "Thumbnail Creation Settings" which lists "Pagination Thumbnail Creation" yes or no. I have that set to yes.

Is this where where we should be looking?
Post Reply