Add config types for lists

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Add config types for lists

Post by cmb » Sat Jun 17, 2017 11:16 am

As of CMSimple_XH 1.6 we have "typed" configuration options which already cover a lot of use cases. However, sometimes one needs to allow a list of items (for instance, file extensions, etc.) and this has to be typed as `string` (or maybe `text`). We should consider adding types to cater to that; `menum` and `mfunction` could be mapped to <select multiple>, but I'm not sure how to deal with `mxenum` and `mxfunction` one of which would be needed for file extensions, for instance.

Thoughts?
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply