Jump to:

23550 Posts in 19336 Topics by 2890 members

General Questions

SilverStripe Forums » General Questions » SS3 - Mini extension for sortable images (extends UploadField)

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1005 Views
  • banal
    Community Member
    901 Posts

    SS3 - Mini extension for sortable images (extends UploadField) Link to this post

    Hello community.

    I have been looking for a solution to enable sorting on multiple images uploaded via UploadField.
    Sadly this didn't seem to exist (or I'm just too stupid to search properly?).

    I wrote a small extension to the UploadField that adds sorting functionality to has_many relations. Download and instructions can be found here: https://github.com/bummzack/sortablefile

    The implementation is still very basic. There's not much error-checking going on.. so if you encounter issues, please post them on github.
    Hopefully this turns out to be useful for somebody... enjoy.

  • max5k
    Community Member
    8 Posts

    Re: SS3 - Mini extension for sortable images (extends UploadField) Link to this post


    great, thanks a lot for releasing this!

    Although this works like a charm,
    i'd really love to see the possibility to sort items as a core feature in UploadField and GridField.
    As it's one of the most common requirements when having for example multiple images, isn't it?



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.