By Dave Cohen on
In drupal 4.7, I have multiple text areas on a single node form. How do I let the user choose different filters for the two (or more) text areas?
Thanks. -Dave
In drupal 4.7, I have multiple text areas on a single node form. How do I let the user choose different filters for the two (or more) text areas?
Thanks. -Dave
Comments
Is this is your own module,
Is this is your own module, or in something like flexinode? Take a look at how it's being done in ">Flexinode's textarea (something I just fixed today, as a matter of fact):
http://www.disobey.com/
http://www.gamegrene.com/
http://www.disobey.com/
there's more...
Morbus, It's my own module. Thanks for your feedback.
Flexinode does a good deal more than you describe. To use different filters, you also have to:
For my case, it turns out easier to just apply the one node filter to my extra textareas. So all I had to do is call check_markup() for each of my textareas during hook_view. At least I hope that's all I have to do!