restict the number of albums in "lastalb" if displayed in special page restict the number of albums in "lastalb" if displayed in special page
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

restict the number of albums in "lastalb" if displayed in special page

Started by mivola, July 30, 2008, 11:11:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mivola

Hi all,

once again I have a question. I want to display the latest (updated/added) albums in my gallery on a page within CPG. So when the user clicks a link I call the URL "thumbnails.php?album=lastalb" which works fine so far. It displays the albums in correct order. But essentially it displays _all_ albums from the gallery within several pages.
What I would like to have is a parameter to pass to the page (eg "thumbnails.php?album=lastalb&limit=10") to display only the latest 10 albums on one page.

Is there such a parameter to pass to? If not, how can I achive this functionality?

Thanks a lot!
Michael

Joachim Müller

All meta albums except the random meta album are paginated, so they display as many files as there are. Adding that parameter would mean you'd have to modify coppermine's core code.