Advanced search  

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

Pages: [1]   Go Down

Author Topic: restict the number of albums in "lastalb" if displayed in special page  (Read 2159 times)

0 Members and 1 Guest are viewing this topic.

mivola

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.