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.

Form Questions /

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

loadUploaded() to a new folder?


Go to End
Reply


2 Posts   1478 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)