ZenphotoCMS Forum
about printLatestUpdatedAlbums function - 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: about printLatestUpdatedAlbums function (/thread-8294.html)



about printLatestUpdatedAlbums function - flu - 2011-02-22

Hi guys,
I've a question for a long time about this function :
What is exactly the time considered in this function ?

  • last uploaded image in the album ?
  • creation date of the album ?
  • if the static html plugin and image cache extensions are on, does it take the cache generation time ?
    Sorry but I'm a bit confused about this and get sometimes strange results.

More, in the docs
http://www.zenphoto.org/documentation/plugins/_zp-extensions---image_album_statistics.php.html#functionprintLatestUpdatedAlbums
a $albumfolder string is mentioned. How to use it ?

Last, at the same place, it says that it prints the top voted albums.
It's a mistake isn't it ?

Cheers.




about printLatestUpdatedAlbums function - acrylian - 2011-02-22

The latest updated albums are sorted by the latest mtime value of their images. The $albumfolder is used as with all other functions. You enter the album name to get the latest updated albums in the album specified.