How to display more than 5 albums per page?

Crille W

Joined: 2002-09-10
Posts: 8
Posted: Tue, 2002-09-10 21:44

Hello!

I wonder how i adjust the number of albums per page in the gallery "root".
Default seems to be 5.. but I want more :smile:

Displying them i columns would be nice too :smile:

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Wed, 2002-09-11 08:16

Edit your config.php file, there is a variable there that handles this.
As for the columns, I can't help you there.

 
JonathanH

Joined: 2003-05-01
Posts: 16
Posted: Thu, 2003-05-01 21:34

Is it possible to only affect the root page, not all album pages?

It looks like the variable in config.php will affect all of the album pages, unless I'm mistaken.

thanks.

-jh-

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Thu, 2003-05-01 22:24

It will affect each page, but is independent of the number of photo thumbnails visible inside each album. You'll have to rework the logic in albums.php to handle the special case of the first page in determining which albums to show if you want it to work the way you mention. That could be more difficult than it seems, but it's certainly doable.

-Beckett (

)