Page 1 of 2

Pagination Question

Posted: 14 May 2009, 17:26
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!

Re: Pagination Question

Posted: 14 May 2009, 22:49
by Jan
Do you mean pagination in Categories View (category list) or in Category View (image list)?

Jan

Re: Pagination Question

Posted: 18 May 2009, 13:08
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?

Re: Pagination Question

Posted: 18 May 2009, 18:27
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?

Re: Pagination Question

Posted: 19 May 2009, 18:32
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.

Re: Pagination Question

Posted: 20 May 2009, 02:39
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.

Re: Pagination Question

Posted: 20 May 2009, 09:32
by caro84g
Hi,

go to your menu item, basic parameters (first box on the right) and set 'show pagination' to yes.

Re: Pagination Question

Posted: 20 May 2009, 18:54
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.

Re: Pagination Question

Posted: 20 May 2009, 20:27
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

Re: Pagination Question

Posted: 20 May 2009, 21:21
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?