Hi list,
for module configuration OXID provides a module-config tab whose content is
rendered by metadatas settings entries. Unfortunately those entries arent
very powerfull IMHO therefore my following suggestion:
define a new metadata type entry = include with a template-file as value
:
'settings' => array(
array('group' => 'my_module__config', 'name' => '', 'type' =>
'include', 'value' => 'my_module__myAwesomeModuleConfigExtension.tpl'),
);
which will be then included in module_config.tpl:
[{elseif $var_type == 'include'}]
[{include file=$module_var }]
small change, big possibilities i guess.
Alternatively / additionally a block wrapping the whole IF-statements inside
module_config.tpl would also provide more flexibility here ppl could
define their own types etc (e.g. type=password ;) ).
Do think this might be a good idea ?
Greets,
Manuel
<mailto:[email protected]> [email protected] |
<http://www.mediaopt.de/> www.mediaopt.de
derksen mediaopt gmbh | elbestrasse 28/29 | 12045 berlin | +49 (30) 34 09
42-77 | fax-66 | Amtsgericht Charlottenburg | HRB 120935 B | ust.-id
DE265886017 | geschäftsführer dipl.-ing. philipp derksen
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general