Album Created Date?

MysticGirl
MysticGirl's picture

Joined: 2003-01-06
Posts: 81
Posted: Fri, 2003-02-07 22:13

Does gallery record the date that an album was created? With the help of the creator, I was able to figure out how to make the recent albums hack (seen <!-- BBCode Start --><A HREF="http://brainkrash.com/photo/recent_albums.php" TARGET="_blank">here</A><!-- BBCode End -->) show both albums and subalbums. It is set up to list them by the last modification date - so, every time an album is modified in anyway, it's moved to the top....I would rather have it just list the albums by the date of creation. Is that possible?

 
MysticGirl
MysticGirl's picture

Joined: 2003-01-06
Posts: 81
Posted: Fri, 2003-02-07 23:31

Okay, I think I'm having a duh moment here - doesn't album.php already do that? I just realized that.....not sure, though.

 
sean1

Joined: 2003-02-04
Posts: 5
Posted: Sat, 2003-02-08 02:32

Now for an interesting question - how can we override the album created date?

 
MysticGirl
MysticGirl's picture

Joined: 2003-01-06
Posts: 81
Posted: Sat, 2003-02-08 12:34

What do you want to sort it by? I have read that the way it is set up now, you can't really change the way albums.php is sorted. But, you could use that hack to sort your albums by any variable recorded by gallery. I'm going to use it to make another file to show the albums sorted alphabetically (by the url since we use the usernames to name the albums)....so, the user can then have three different choices of how they want to view the albums.