Pagination value

Phoca Gallery - image gallery extension
novator
Phoca Member
Phoca Member
Posts: 11
Joined: 30 Dec 2008, 08:38

Pagination value

Post 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:
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Pagination value

Post by caro84g »

Hi,

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

Regards, Carolien
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)
novator
Phoca Member
Phoca Member
Posts: 11
Joined: 30 Dec 2008, 08:38

Re: Pagination value

Post 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:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination value

Post 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
If you find Phoca extensions useful, please support the project
novator
Phoca Member
Phoca Member
Posts: 11
Joined: 30 Dec 2008, 08:38

Re: Pagination value

Post 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:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination value

Post by Jan »

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