How to remove tinyMCE for one text area only??

Hi, I would really like to remove tinymce from only one text area in my site...I tried to simply add the name of the text area in the theme_tinymce_theme function, but I must have done something wrong, as it does not seem to have work at all.

I know I could set it up so that people can turn the rich text editor on and off, but I don't want to activate that function in all the site only for that ONE TEXT AREA...

Could anyone please help me to modify the theme in the right way??
Thanks..

Patchak

Comments

budda’s picture

I've just tried the instructions in the INSTALL.txt to create the theme function, however it doesn't appear to work either.

If my theme is called 'boats' I insert the following function in to my themes template.php (as described in http://drupal.org/node/11811)
function boats_tinymce_theme($init, $textarea_name, $theme_name, $is_running) {
But it never gets executed. It's been a while since i've done any TinyMCE fiddling, but i think it's right?

budda’s picture

Went back in to the Theme admin to clear the cache and now its being called as expected. duh.

latte’s picture

Just wondering if anyone figured this out yet???

I'm not sure how to implement this
function boats_tinymce_theme($init, $textarea_name, $theme_name, $is_running) {

I just need to turn off tinymce in a flexinode text area.

Hope someone can help.

Thanks,

latte/

csc4’s picture

I don't know if it is the best way - but I've used the information in http://drupal.org/node/53296#comment-124384 to disable for particular text areas

kreynen’s picture

Assigned: Unassigned » kreynen
Priority: Normal » Critical
kreynen’s picture

Status: Active » Closed (duplicate)