Member
Member
ulfben   2007-11-25, 19:39
#1

Since updating to 1.1.2 my previously sorted albums are now a mess. I don't have the patience to manually set the sort order in each of my 250+ subalbums, so I would like to suggest the simple addition of a tickbox for "apply changes to this album and all it's subalbums". Pretty please.

Member
Member
sbillard   2007-11-26, 03:21
#2

Upgrade to the nightly build and your wish will come true. http://www.zenphoto.org/files/nightly/

Set the sort order for your gallery to what you want. Each subalbum that has not had its sort order actually set will inherit this setting.

More specifically: all albums will initially inherit their sort order settings from their parent. In the case of first level albums, the parent is the gallery. So, if you have never set the sort options for an album, it will inherit them from its parent.

Member
Member
ulfben   2007-11-26, 23:02
#3

Updated to nightly, but no dice. Is the "inheritance" perhaps limited in depth or somesuch?

If you can tell me where this behaviour is implemented I'll try and patch it myself.

Member
Member
tummblr   2007-11-26, 23:35
#4

I believe you must manually sort existing albums and subalbums. New uploaded/imported albums and subalbums in the future will be sorted automatically.
http://www.zenphoto.org/support/topic.php?id=1721&replies=13#post-11314

Member
Member
sbillard   2007-11-26, 23:46
#5

The sort parameters are stored in the album table of the database. You can change them there.

The intheritance is not limited. However, it does not override any previously set parameters.

Steps to follow:

  1. Set the gallery sort options as you wish for the default. This is done in the admin options gallery tab.
  2. Drop the sort_type and subalbum_sort_type fields.
  3. Run upgrade.php
  4. Run the Pre-Cache Images script from the admin page.
Member
Member
ulfben   2007-11-27, 00:14
#6

Yep, that did it! Thanks a bunch.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.