Jump to:

10843 Posts in 2513 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Uploadify - Prevent folder selection and hide "Choose existing"

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1239 Views
  • KINKCreative
    Avatar
    Community Member
    56 Posts

    Uploadify - Prevent folder selection and hide "Choose existing" Link to this post

    I want to set dynamically a fixed upload folder for the upload fields - and that's okay. However, I would like to hide the folder dropdown and the choice of "Choose Existing" as I have many users on the platform who access their respective files and I don't even want them seeing what is in the assets folders. I want the files only to be uploaded or removed if they are changed / removed in the File/ImageDataobjectmanagers.

    How can I go about doing that? I also can't find documentation on allowFolderSelection.

    Thanks.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Uploadify - Prevent folder selection and hide "Choose existing" Link to this post

    You can copy the files

    /uploadify/templates/UploadifyFieldBackend.ss
    /uploadify/templates/MultipleUploadifyFieldBackend.ss

    to /your_theme/templates/

    And remove the tabs from the HTML. Run a flush=1 and you should be good.

  • KINKCreative
    Avatar
    Community Member
    56 Posts

    Re: Uploadify - Prevent folder selection and hide "Choose existing" Link to this post

    I just started with that, yes. Thanks a bunch for this!

    1239 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.