How to implement recent albums?

Hi, I'd like to show the albums in this way:
#1. Recent albums - shows the albums uploaded within the past n days, sorted by upload date.
#2. Archive - contains all albums, old or recent. Sorted by upload date.

zp has support for #2, via the archive functions.

But how to implement #1? Can it be done without modifying the code, like altering the themes?

Thanks

Comments

  • acrylian Administrator, Developer
    We have functions for #1 as well.
    http://www.zenphoto.org/documentation-official/zenphoto/_plugins---image_album_statistics.php.html

    And the nightly has a new function called printlatestupdatedalbums()
  • thanks, i'll take a look at the svn version
  • Am I understanding that "sort albums by date" will not sort in reverse, so that recent albums uploaded show at the begining?
  • Sort by date has the option of sorting Decending or ascending.
  • so I thought, I had some work done to customize and now it does not work... It had previously, or so I thought. Confirmed
  • Hi, could you please advise me how to use printlatestupdatedalbums() to snow e.g. 5 random/latest images from 10 latest albums? I see function for no. of albums but not function for showing more than one image. Thanks, you are doing brilliant work! yabasta.cz KLIMAS
  • acrylian Administrator, Developer
    You first have to enable the image_album_statistics plugin and then you have place that function on your theme pages where you want it to display. That function shows only the album thumb of the albums, this is as coded. If you want to show more images per latest album, you have to code your own function using the "get" function of that plugin.
Sign In or Register to comment.