ZenphotoCMS Forum
Archive listing albums by date - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Archive listing albums by date (/thread-11537.html)



Archive listing albums by date - ayutheos - 12-12-2013

Is there a way to display an archive page listing albums by date instead of month links of images?

For example:

`
2011

  • Album 1 (#)
  • Album 2 (#)
    2012
  • Album 3 (#)
    2013
  • Album 4 (#)
  • Album 5 (#)
  • Album 6 (#)
    `
    where # is number of photos in album/subalbums.

Very much like printAllDates but instead of month links I'd like to have album links.

Thanks in advance.




Archive listing albums by date - acrylian - 12-12-2013

There is a "half official" plugin: http://www.zenphoto.org/news/title_by_date_archive

A live demo of the custom function that plugin evolved from is here: http://www.trondheimkunsthall.com/page/archive?utstillingsblogg-arkiv




Archive listing albums by date - ayutheos - 12-12-2013

I had a look at that previously, but couldn't work out how to customise it to what I want.

  1. How do I make the listing sorted by date descending? The default is sorted ascending (2011, 2012, 2013) with only the year 2011 expanded.

  2. How do I omit showing subalbums from the archive list?

Also, when clicking year link to expand/collapse the archive list the whole page jumps to the top, which is a bit distracting.




Archive listing albums by date - acrylian - 12-12-2013

  1. See the parameters. It is explained in the file comments
  2. Not possible as not implemented
  3. That might be a bug. Please open a ticket.



Archive listing albums by date - ayutheos - 13-12-2013

Thanks. I've submitted an issue ticket on the github page.




Archive listing albums by date - acrylian - 13-12-2013

Thanks, I will take a look as soon as possible.




Archive listing albums by date - ayutheos - 19-12-2013

I found a workaround to hide album/subalbum from showing up in the archive list - leave the album/subalbum date empty

I also noticed that there's two sort type - by year and by day (please refer screenshot)

http://i.imgur.com/x0mcGe0.png?1

Is it possible to have sort options for year, month & day?




Archive listing albums by date - acrylian - 19-12-2013

Possible is nearly everything. Again best open a ticket for this. But don't expect any work soon. I probaby won't get to anything before mid January at all.




Archive listing albums by date - ayutheos - 19-12-2013

It's ok, no hurry. I'll open a ticket for the feature request.

Have a happy Christmas & new year!