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.

All other Modules

Discuss all other Modules here.

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

Uploadify - Prevent folder selection and hide "Choose existing"


Reply

3 Posts   1352 Views

Avatar
KINKCreative

20 February 2011 at 7:52pm (Last edited: 20 February 2011 7:53pm), Community Member, 56 Posts

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.

Avatar
UncleCheese

23 February 2011 at 4:19am 4085 Posts

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.

Avatar
KINKCreative

23 February 2011 at 7:10am Community Member, 56 Posts

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