Jump to:

5542 Posts in 1739 Topics by 1225 members

Customising the CMS

SilverStripe Forums » Customising the CMS » ImageField "From File Store" dropdown - change sort order?

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

Page: 1
Go to End
Author Topic: 357 Views
  • Double-A-Ron
    Community Member
    604 Posts

    ImageField "From File Store" dropdown - change sort order? Link to this post


    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.