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

Mutiple File picker/ multiple image picker?


Go to End


2 Posts   937 Views

Avatar
SilvaStriper

Community Member, 1 Post

20 May 2013 at 2:10pm

Hi there, I'm very new to Sliverstripe.

I want to be able to attach or associate multiple files to a page type.
for example I have a page type 'Album' and I want to pick multiple mp3 tracks that have already been uploaded into the cms.

rather than having to create another page type 'track' and have one upload field per track, as that would be overkill and could be time consuming to create for Website Editors

anything spring to mind? Has-many File Manager looks like it would do what I need, but seem to be way-old and its not compatible with my version (I'm using v3.05)

thanks for any advice

Cheers,
- Tim

Avatar
Willr

Forum Moderator, 5523 Posts

22 May 2013 at 10:09pm

UploadField supports many_many relationships which you can use in this case - http://doc.silverstripe.org/framework/en/reference/uploadfield