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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Form Questions /

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

loadUploaded() to a new folder?


Go to End


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