Development of CMSimple_XH 1.6

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

Re: Development of CMSimple_XH 1.6

Post by cmb » Fri Jan 04, 2013 1:31 pm

manu wrote:If this fix is ok I could do it for the filemanager accordingly.
IMO it's more than okay! I appreciate that you have encapsulated the retrieval of the options in a function; this way some global variables can be avoided. :)

About the selectbox: I'm not sure how to handle this. The most typical case are hardcoded options in the meta config (not yet implemented; a first draft can be found in http://www.cmsimpleforum.com/viewtopic. ... =10#p31549). For the core (languages and templates) I have hardcoded it to XH_CoreArrayFileEdit. Perhaps we should generalize this, and make it possible to specify a function (given by name, which will return an array of options) instead of a hardcoded list only. Simplest solution: if the select list contains only 1 element, this is treated as such a function.
Christoph M. Becker – Plugins for CMSimple_XH

manu
Posts: 1117
Joined: Wed Jun 04, 2008 12:05 pm
Location: St. Gallen - Schweiz
Contact:

Re: Development of CMSimple_XH 1.6

Post by manu » Fri Jan 04, 2013 2:59 pm

cmb wrote:About the selectbox:...
For this I just wait and leave it as an plain input field until all the demands are established for the issue of formatting the config fields.

Post Reply