Albums sortable by most recently modified, but what about listing modification date?

fhmiv

Joined: 2006-01-15
Posts: 2
Posted: Sun, 2006-01-15 15:02

One feature I liked about Gallery 1 was its propogation of modification dates up through sub-albums to parent albums. I have a gallery with several users who upload photos periodically, and it was very nice to quickly see which albums had received new photos.

I see how I can infer this with Gallery 2 by using Site Admin to have it sort albums by most recently updated, but don't see any way to include the date/time of modification.

Is it already possible to get this functionality with gallery2? Is this an item that would have to be implemented at the core gallery level or the theme level?

This seems like basic functionality to me, less interesting perhaps, but more necessary than some other feature-type requests I've seen.

Thanks!
Frank

 
fhmiv

Joined: 2006-01-15
Posts: 2
Posted: Sun, 2006-01-15 15:11

I found two feature requests related to this item.

http://sourceforge.net/tracker/index.php?func=detail&aid=1316125&group_id=7130&atid=357130
is exactly what I'm looking for, and appears to be exactly what gallery1 did.

http://sourceforge.net/tracker/index.php?func=detail&aid=1258827&group_id=7130&atid=357130
is similar, but since it is geared towards the sidebar and not the normal album browser view, so in my opinion it isn't so much basic functionality as a nice feature to have.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-01-15 15:35

the behavior in G2 resembles the behavior of a file system.
if you have

topalbum/albumA/subalbumB/image1.jpg

and if you add image2.jpg to subalbumB, then we change the modification date of subalbumB, but not the modification date of topalbum and albumA.
that's intended and it's logical.

if you want that we propagate the modifcation date up to the top, you could do this in a module which listens for GalleryEntity::save events. you could change this also in the core module of course.

just vote for the feature on http://gallery.menalto.com/sfvote/all and you'll see if it makes it to the top of the list or if someone else finds it important enough to submit a patch.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-01-20 23:05

another option is the Updates module from Documentation / User Contributions, which is just a page of most recently added items.