Page 1 of 1

customize type html textarea size

Posted: Tue Jul 24, 2007 2:32 pm
by Timbalu
Hello

Is there an option to customize a type::html plugin config field?

case 'intro':
$propbag->add('type', 'html');
$propbag->add('name', PLUGIN_XXX_INTRO);
$propbag->add('description', '');
$propbag->add('default', '');
break;

Ian

Re: customize type html textarea size

Posted: Tue Jul 24, 2007 3:21 pm
by garvinhicking
Hi!

No. :-)

If you need customization, you can use the 'content' or 'custom' propbag types. When using 'content', everything that's put into the 'default' propbag will be displayed as raw content. When using 'custom', everything you put into 'custom' will be used there, and a hidden input field will be automatically emitted.

Regards,
Garvin