Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

ImageField "From File Store" dropdown - change sort order?

Go to End



Community Member, 607 Posts

17 February 2013 at 8:52pm


We have quite a lot of images now, most of which have been organised into folders in Files and Images.

When we use the ImageField object in the CMS, the dropdown that displays File store images order's everything alphabetically.

I want to modify this order so it orders by Folder first (so they are at the top) and alphabetically secondary.

Anyone know a way of doing this? I have found TreeDropdownField in sapphire/forms but can't see a way to arrange the resuts.