customize type html textarea size

Discussion corner for Developers of Serendipity.
Post Reply
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

customize type html textarea size

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: customize type html textarea size

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply