album and image order question

slavka

Joined: 2006-07-24
Posts: 4
Posted: Sun, 2009-11-01 23:21

hello:

question about default orders.

how do I sort albums by Date in Descending order and images inside the album by filename in Ascending order

At this point I went as far as Admin page -> Themes and under defaults I set default sort order to:

Creation Date -> Descending -> no presort

new albums inherit setting from parent.

this works well for albums, but unfortunatelly images inside the album are also sorted by created date in descending order..

suggestions are very much appreciated.

Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 4.4.8 cgi
Webserver = Apache/2.0.63
Database = mysql 4.1.22-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, Thumbnail, Gd, ImageMagick, LinkItemToolkit
Acceleration = none, none
Operating system = Linux 2.6.30.5.dn.am #2 SMP Mon Aug 17 17:49:48 EDT 2009 i686
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Rows in GalleryAccessMap table = 73
Rows in GalleryAccessSubscriberMap table = 2730
Rows in GalleryUser table = 6
Rows in GalleryItem table = 2726
Rows in GalleryAlbumItem table = 105
Rows in GalleryCacheMap table = 0

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-11-02 03:40

Each album can have a different sort order.
It gets complex if you have items and sub-albums in a album. There is a setting in sort to place the albums before or after items.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
slavka

Joined: 2006-07-24
Posts: 4
Posted: Mon, 2009-11-02 03:49

thank you for the response .. much appreciated.

I'm looking to configure a default setting.. everything under root would be sorted descending by creation date .. and all images inside the album are sorted ascending by file name (i.e. name) .. is there such thing ?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-11-02 04:05

I don't know. I have never played with default sort orders and others.
Try and see if setting the default settings in admin -> themes for new albums and then change the sort order for the root album to be creation date.
There is also a setting someplace for adding new sub-albums to the beginning or the end.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team