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.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Directory Setting for Uploadify


Reply

4 Posts   1055 Views

Avatar
Johnny

9 September 2010 at 4:26am Community Member, 34 Posts

Hi UncleCheese!

For of all, good job with the new Uploadify module!

I would like to know if it would be easy to add a setting that would set the « default upload directory ». Sometimes, users like to get directed where to put their files, they won't have to think in which directory goes a specific object, let's say a « Press Release », for example.

I hope this is clear enough :)

Thanks,

JP

Avatar
UncleCheese

9 September 2010 at 5:49am 4085 Posts

$your_uploader->uploadFolder = "press-releases";

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com

Avatar
Johnny

9 September 2010 at 5:57am Community Member, 34 Posts

Could it be more easier? I don't think so! :)

Thanks!

Avatar
UncleCheese

9 September 2010 at 6:13am 4085 Posts

If you experience any unexpected behaviours, you can either update your SVN, or download a fresh version of the module. That feature underwent a few feature enhancements today. Glad you're liking it!

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com