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.

All other Modules /

Discuss all other Modules here.

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

Userforms FileUpload field options


Reply


2 Posts   941 Views

Avatar
theoldlr

Community Member, 103 Posts

8 May 2010 at 3:04am

Hello all,

With the userforms module I was wondering if it was possible to:

1)Change the location of where files are uploaded to from the default /assets/uploads. I'm not sure how this will work out yet, but I'd like to use this in conjunction with the secure files module so that uploads are placed in a secure folder.

2)Change the allowed extensions for uploaded files.

Thanks!

Avatar
Willr

Forum Moderator, 5513 Posts

9 May 2010 at 5:46pm

Both very good ideas for the module. #2 is already an enhancement ticket - http://open.silverstripe.org/ticket/4651. I couldn't find a ticket for changing the Location of uploads so made http://open.silverstripe.org/ticket/5563. I have done a version which has a custom upload file for Userforms 0.2 but this is not compatible with SilverStripe 2.4 so will have to be rewritten for that.