Ok, here's a question for the core code gurus. I have an add-on that will have its own system settings. Two of these will be to specify options that are based on folders in the add-on's assets. What I want to do is generate the setting drop-down based on available folders. Users can upload more of these folders to provide more options.
To be specific, it's the
markItUp content editor (not a code editor, it inserts tags for html, wiki, markdown, bbcode, etc). The two options will be for sets (html, bbcode, wiki, etc) and skins. The package will come with one or two of each of these, but more can easily be added from the
markItUp downloads page.
The question is, how can I build a dynamic select drop-down in System Settings from these set and skin folders (assets/components/markitup/skins/ and assets/components/markitup/sets/)?