Announcement

#1 2013-04-01 15:13:35

fr
Member
2012-07-27
9

how to turn off pagination ?

Hello,

today I upgraded from Piwigo 2.4 to 2.5, using stripped theme, almost every thing is working fine :-)

Just one small thing I'd like to change. Is there a way to turn off pagination? I'd like to display more than 15 thumbnailes per page. With Piwigo 2.4 all images were displayed at once.
On "Configuration - Options - Guest Settings", I set "Number of photos per page" to "50". I also tried the settings on "display" tab.
Would be great, if the number of thumbnails per page could be changed e.g. from 15 to 25, 50, all.

Thanks and kind regards
FR

Offline

 

#2 2013-04-01 15:23:06

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: how to turn off pagination ?

as Stripped forces the number of thumbnails, you must add this line in your local configuration file

$stripped['maxThumb'] = 999;

Offline

 

#3 2013-04-01 16:00:43

fr
Member
2012-07-27
9

Re: how to turn off pagination ?

Hi mistic100,

thanks for your fast reply!
It works perfectly and gives me all the flexibility I wanted :-)

Have a nice day
FR

Offline

 

#4 2015-04-17 04:14:17

Marian
Guest

Re: how to turn off pagination ?

Hey, what file is that that needs adjusting? I can't find 'maxThumb'!

 

#5 2015-04-17 09:44:04

fr
Member
2012-07-27
9

Re: how to turn off pagination ?

Hi Marian,
I installed extension/plugin "LocalFilesEditor"
-> go to tab "local config" (file local/config/config.inc.php)
-> add          $stripped['maxThumb'] = 999;         at the bottom, just before   ?>

hope this helps
FR

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact