Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: restict the number of albums in "lastalb" if displayed in special page  (Read 2080 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.021 seconds with 16 queries.