Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Directory Setting for Uploadify

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 1001 Views
  • Johnny
    Avatar
    Community Member
    34 Posts

    Directory Setting for Uploadify Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Directory Setting for Uploadify Link to this post

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

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

  • Johnny
    Avatar
    Community Member
    34 Posts

    Re: Directory Setting for Uploadify Link to this post

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

    Thanks!

  • UncleCheese
    Avatar
    4085 Posts

    Re: Directory Setting for Uploadify Link to this post

    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

    1001 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.