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.

All other Modules /

Discuss all other Modules here.

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

Userforms FileUpload field options


Go to End


2 Posts   1343 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, 5523 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.