Member
Member
invarbrass   2008-06-05, 15:21
#1

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

Administrator
Administrator
acrylian   2008-06-05, 16:41
#2

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()

Member
Member
invarbrass   2008-06-06, 03:09
#3

thanks, i'll take a look at the svn version

Member
Member
eddiejanzer   2008-06-17, 00:17
#4

Am I understanding that "sort albums by date" will not sort in reverse, so that recent albums uploaded show at the begining?

Member
Member
sbillard   2008-06-17, 01:02
#5

Sort by date has the option of sorting Decending or ascending.

Member
Member
eddiejanzer   2008-06-17, 01:25
#6

so I thought, I had some work done to customize and now it does not work... It had previously, or so I thought. Confirmed

Member
Member
klimas   2009-10-14, 09:35
#7

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

Administrator
Administrator
acrylian   2009-10-14, 11:40
#8

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.