Add a Field type for selecting media folders #1710
Unanswered
sander1095
asked this question in
Ideas
Replies: 1 comment
-
Moving this to discussions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently I have written a custom data select field that gets all the media folders recursively and the amount of items in them, for example:
/images/employees/ (9)
,/images/ (0)
,/ (0)
This is useful because I want to let the cms user select a folder whose media should be displayed, perhaps randomly. Currently I need to either select the media myself, which makes randomness impossible, and change my selection if I ever add an image.
Selecting a folder and saving the ID would be super useful!
I can post my current solution with the data select field item if anyone is interested!
Beta Was this translation helpful? Give feedback.
All reactions