![]() |
|
Last updated albums - 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: Last updated albums (/thread-2620.html) |
Last updated albums - Barbara - 2008-04-06 I'm using the latest nightly build. I know there's already a function to display the last created albums but what if I add some photos to an album that is already there? I tried and the album doesn't show with the other ones. Last updated albums - acrylian - 2008-04-06 A new function would be needed for the latest updated ones. It seems to make sense, I'll add it to my to-do-list and update the statistics plugin with it. Should be possible. In the meanwhile you perhaps could use the printLatestImages()? Last updated albums - Barbara - 2008-04-06 Wow, thanks a lot for the quick reply and for all your work with ZP! Love this script. Last updated albums - Barbara - 2008-04-08 While we're at it, would it be possible to integrate it with AlbumDate? Last updated albums - acrylian - 2008-04-08 Yes, I will use the date of the latest added image in that album. Last updated albums - macalter - 2008-04-08 Typically when doing code for web pages, many may have 2 dates: created date and last modified date. If placed on each image page, that would be helpful. Would this be manual or automatic and what would trigger? Adding the image and/or adding/modifying text (description)? Last updated albums - acrylian - 2008-04-08 I guess my answer above was a little misleading. I somehow overread that the question referred to the function I first will do a function for the latest updated albums, everything else later. Of course that would be an option and I would considers uploading new images to an album as an update, not editing it's description. Last updated albums - macalter - 2008-04-08 "uploading new images to an album as an update, not editing it's description." Could be both: possibly images that cannot be identified so it would be great to be able to show the updated date when the information is obtained. It's not always obvious. Or, images could be wrongly identified, change in date shows something to draw visitor attention. Guess it depends on what the code handles. I'm thinking of the date function I use in Dreamweaver. You can add current date and it never changes or add the date function that changes every time page is saved. Assuming the page would be saved only when modified. MSWord also has date functions for various states. But, don't know PHP Last updated albums - acrylian - 2008-04-09 Well, I really don't want things to get more complicated than necessary. I wouldn't take the date of an image as the indicator but the ID because that is the one value that really shows if that image is newly uploaded. It may be possible to check if a db table field is updated, but I just don't about that. Not everything at one time, ok...:-) |