Trying to selectively disable the TinyMCE control as explained in the documentation.

I create a template.php file in my theme, and put in the sample code, but get:

Fatal error: Cannot redeclare theme_tinymce_theme() (previously declared in mypath\modules\addon\tinymce\tinymce.module:288) in mypath\themes\mytheme\template.php on line 22

Haven't tried this type of override before, so maybe I'm just doing something dumb.

Comments

heine’s picture

Replace theme with the phptemplate or the name of your theme.

eg. phptemplate_tinymce_theme

rjleigh’s picture

thanks so much; I knew I was just missing something simple.

rjleigh’s picture

Status: Active » Closed (fixed)

works like a charm now

Anonymous’s picture

Can the project admin please add this to the INSTALL.txt file of kwtheme.

http://drupal.org/node/75075#comment-117903