Jump to:

23471 Posts in 18937 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » uploadField sortable?

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: 224 Views
  • JonnyCash
    Community Member
    4 Posts

    uploadField sortable? Link to this post


    As you can create a has_many relationship and link it to an uploadfield letting you add many items, is it possible to tell uploadfield to use a sort order??

    Thanks for your reply!

    Thomas S.

  • IOTI
    Community Member
    189 Posts

    Re: uploadField sortable? Link to this post

    To my knowledge, there is no way to sort images uploaded through a uploadField on a has_many relationship. I think your best/easiest solution would be to create a very simple dataobject containing an uploadField and manage them through a gridField using the SortableGridField module.

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.