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.

Form Questions /

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

loadUploaded() to a new folder?


Go to End


2 Posts   2190 Views

Avatar
grilldan

Community Member, 135 Posts

18 February 2009 at 8:30am

I am making a widget that uses loadUploaded(), but I need to be able to change the folder that it uploads too. I found http://www.silverstripe.org/archive/show/220484, but I need to have the widget work without modifying the core files. Any ideas?

Avatar
grilldan

Community Member, 135 Posts

18 February 2009 at 9:52am

SOLVED: loadUploaded($file, $folder)