Page 1 of 1

Pagination value

Posted: 31 Dec 2008, 19:59
by novator
For on of the project I need to change gallery pagination value to 16. Defaults values are 5-10-15-20-50-all. There I can find required *.php file to do that?
Also, I need remove in website possibility change pagination values? Is it possible to do that in administrator back-end or I should change source code? If yes, where I can find that file?
Will be waiting for your help :wink:

Re: Pagination value

Posted: 01 Jan 2009, 02:59
by caro84g
Hi,

in the Phoca Gallery settings you can set the pagination values.
Go to components >> phoca gallery >> control panel >> parameters

Regards, Carolien

Re: Pagination value

Posted: 01 Jan 2009, 20:14
by novator
Welcome to the new year :twisted:
Yes I found in the settings how change value. But there are just few options. What I need, is exact 16 images per page.
Is it hard make changes in source code to set pagination value to 16?
One more thing, because of I located in lithuania, how can I make translation of navigation row:
<<Start<Prev 1,2 Next>End>>
In *.ini files which are located in language folder I don't found anything
Big big thank for support :wink:

Re: Pagination value

Posted: 02 Jan 2009, 21:20
by Jan
Hi, navigation is a part of Joomla! framework and should be translated by main Joomla! translation...

Yes, the setting of values of listed images is difficult in code, you need to create child class of Joomla! framework pagination but why? I have done it and made parameter for this, so you just change it in parameters - set default value to 16

Jan

Re: Pagination value

Posted: 03 Jan 2009, 11:47
by novator
Oh, then everything is ok. I understand wrongly then saw pagination values and think what 5 - 10 - 15 - ... is only steps which I can choose :)

Thank you for so quick support :twisted:

Re: Pagination value

Posted: 04 Jan 2009, 01:06
by Jan
:wink: