This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello Is it possible to get a list of all content files and use this list to dynamically build the options of a dropdown property inside a snippet? The snippet is created by a partial. My goal is to let the user drag and drop content files into static pages, or is this considered bad practise? Or is there maybe a much easier way to get this?
Thanks in advance!
It ended up being as simple as:
$files = Content::get();
Hooray! Thanks. I had been looking for this for some time.
1-3 of 3