Sorting with galleries and folders

khargykhargy Registered Users Posts: 13 Big grins
edited December 20, 2014 in SmugMug Support
This has been driving me crazy for awhile now...

On the following test page I have a display of galleries and folders:

http://khargy.smugmug.com/Old-Photos/Test1

No matter what I do I can't get it to sort strictly by name, it always displays the folders first. So it this example is says "Test1, Test3, Test2"

I can see that the underlying AJAX call is calling:

http://khargy.smugmug.com/services/api/json/1.4.0/?NodeID=5WBDJ&NodeType=70&PageSize=50&imageSizes=S%2CM%2CL&SortMethod=7&SortDirection=1&method=rpc.node.getchildnodes

which shows the same sort order... if I change the SortMethod to 3:

http://khargy.smugmug.com/services/api/json/1.4.0/?NodeID=5WBDJ&NodeType=70&PageSize=50&imageSizes=S%2CM%2CL&SortMethod=3&SortDirection=1&method=rpc.node.getchildnodes

The AJAX comes back as I'd expect... is there anyway to update this on the page?

Thanks,
Ken

Comments

  • denisegoldbergdenisegoldberg Administrators Posts: 14,383 moderator
    edited December 17, 2014
    khargy wrote: »
    On the following test page I have a display of galleries and folders:

    http://khargy.smugmug.com/Old-Photos/Test1

    No matter what I do I can't get it to sort strictly by name, it always displays the folders first. So it this example is says "Test1, Test3, Test2"[/URL]
    I just clicked on your link and it shows Test1, Test2, Test3, Test4 in sequence with folders and galleries intermixed.
    Just curious, are you still seeing this problem?

    --- Denise
  • khargykhargy Registered Users Posts: 13 Big grins
    edited December 17, 2014
    I contacted tech support directly and forgot to post a followup here... the trick is that I had the "Customize and design" set to use "Organizer Position" and then I had the Organizer set to use "Sort by Name". Apparently that will always make the folder sort first. If I change the "Customize and design" level settings to "Sort By Name" that then works as expected. The only limitation is there doesn't seem to be any way to do a manual sort, with folders and galleries intermixed.
  • leftquarkleftquark Registered Users, Retired Mod Posts: 3,784 Many Grins
    edited December 20, 2014
    khargy wrote: »
    The only limitation is there doesn't seem to be any way to do a manual sort, with folders and galleries intermixed.

    The Organizer is limited to displaying items in the order of Folders -> Galleries -> Pages; when the Content Block is set to display by "Organizer Position" it will follow that methodology. Changing the Content Block to display by something else should allow for intermingling of Folders, Galleries, and Pages, similar to how you see it now. There's also a number of discussions on here where we discuss being able to re-sort (manually) when selecting "Items I choose". Currently it's an awful pain to re-sort the items you choose.
    dGrin Afficionado
    Former SmugMug Product Team
    aaron AT aaronmphotography DOT com
    Website: http://www.aaronmphotography.com
    My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Sign In or Register to comment.