By JamesKB on
Is it possible to disable the tinyMCE editor for the "Contact form" module only so that when the site is online the user not have use of it??
Thanks for your time.
--
JamesKB
Is it possible to disable the tinyMCE editor for the "Contact form" module only so that when the site is online the user not have use of it??
Thanks for your time.
--
JamesKB
Comments
Just place the following
Just place the following code in your template.php file for your current theme:
It seems like a lot of code, but it's necessary. It will be called instead of the theme_tinymce_theme() function in the tinymce module, but is a copy of that function (renamed with the phptemplate_ prefix instead of the theme_ prefix). I added a case for 'comment' but otherwise it's just a copy of that function.
Thanka for your help. I'll
Thanka for your help. I'll give that a shot.
Oops - I misread your
Oops - I misread your title... I added "comment" as a case for disabling tinyMCE. That's wrong. That will disable it for comments, not the contact form. Sorry about that.
The same principal applies though. I think you have to replace "comment" with "contact" but otherwise it should work.