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 /

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


Reply


418 Views

Avatar
Double-A-Ron

Community Member, 604 Posts

17 February 2013 at 8:52pm

v2.4

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.