This project is read-only.

Hide Media Library Folder

Topics: Customizing Orchard, General
Jul 18, 2014 at 3:31 PM

Any suggestions of how to hide programmatically created Media Library folder?

Jul 18, 2014 at 4:03 PM
What do you mean by "hiding"?
Jul 18, 2014 at 5:42 PM
Any time PDF document is imported into the Media library we create "thumbnail" folder. We don't want admin users to see this folder.
Jul 18, 2014 at 5:52 PM
Edited Jul 18, 2014 at 5:53 PM
Unfortunately this is not full possible:

Edit: no, actually you can hide a file system folder from Media Library simply by using a name starting with an underscore (_). But content of such folders can only be managed on a lower level but not from Media Library UI.
Oct 14, 2014 at 5:05 PM
Edited Oct 14, 2014 at 5:07 PM
Does this hiding strategy works also outside Media Library?
I have static files in separate module folders with underscore (_) in names. They can't be accessed. If I remove underscore from folder name files are accessible.
Any way to adjust this behavior?

Oct 14, 2014 at 8:59 PM
Actually underscore didn't have any influence on my problem. Disregard my questions.