1
heyhey, it's me again :)
I'm using auto-generated preferences for a new module, but instead of '0' or '1' I want 'true' or 'false' as choices for a configuration options.
what is the correct syntax for this? i tried
$modversion['config'][10]['formtype'] = 'select';
$modversion['config'][10]['valuetype'] = 'text';
$modversion['config'][10]['options'] = array('true' => 'true', 'false' => 'false');
$modversion['config'][27]['default'] = 'true';
which doesnt't work....any ideas?
o by the way, I promise I'll write some documentation on all this stuff when I have the time.
Roel