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.

General Questions /

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

Mutiple File picker/ multiple image picker?


Reply


2 Posts   378 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, 5513 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