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   1396 Views

Avatar
KINKCreative

Community Member, 56 Posts

20 February 2011 at 7:52pm

Edited: 20/02/2011 7:53pm

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

Forum Moderator, 4096 Posts

23 February 2011 at 4:19am

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

Community Member, 56 Posts

23 February 2011 at 7:10am

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