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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

uploadField sortable?


Go to End


3 Posts   1287 Views

Avatar
JonnyCash

Community Member, 4 Posts

26 July 2013 at 8:57pm

Hello,

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.

Avatar
copernican

Community Member, 189 Posts

27 July 2013 at 12:14am

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.

Avatar
martbarr

Community Member, 59 Posts

12 October 2014 at 11:05am