Jump to:

5540 Posts in 1738 Topics by 1224 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: 355 Views
  • Double-A-Ron
    Avatar
    Community Member
    604 Posts

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

    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.

    355 Views
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.