Closed (works as designed)
Project:
Nodewords: D6 Meta Tags
Version:
5.x-1.7
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2008 at 16:21 UTC
Updated:
12 Aug 2008 at 07:20 UTC
Comments
Comment #1
tdimg commentedThis is tinyMCE's doing and not Meta-Tag's. But the tinyMCE module gave the user/theme developer the power to do something about it.
So, you need to remove it yourself: Open the tinyMCE readme.txt file, look for the function theme_tinymce_theme, copy it in your theme's template.php file, change the function name to phptemplate_tinymce_theme, find out the ID of the textarea you want to have tinyMCE disabled and add that ID in the function similar to those just listed below the comment "Disable tinymce for these textareas"
so it may then look like:
Comment #2
Robrecht Jacques commentedLike c2uk says: it is tinyMCE that adds the class, not nodewords/meta tags. If I knew a way for this module to tell tinyMCE not to do that, I would avoid it. Unfortunately I don't.
Setting it as a "support request".
Comment #3
seanburlington commentedthanks for that - it pointed me in the right direction
short note for anyone else who googles their way here:
the text-area name is 'nodewords-description' - so the function should start like:
Sean Burlington
www.practicalweb.co.uk
London
Comment #4
Riccardo83 commentedI always get this error
Parse error: syntax error, unexpected $end in /home/riccardo/public_html/jbsoulscan.com/sites/all/themes/thirteen/template.php on line 6What can I do about it?
Comment #5
Riccardo83 commentedGot it working nevermind, was my FTP programs fault transfering the files wrong...
Comment #6
berenddeboer commentedAnswer #3 has the wrong example, it will completely disable TinyMCE. This is the function I put in my template.php that works fine:
Comment #7
tdimg commentedAnswer #3 isn't wrong, mind the following text prior to the code:
And the function meant is the one given in the readme (as you can figure out by reading the previous responses). This function has exactly the same code as yours, except that the function from the readme also provides a means of assigning the simple theme to certain textareas and adding extra features to the advanced theme.
All answer #3 does is providing the correct textarea name to put in the function given in the readme file of tinyMCE.
Comment #8
Robrecht Jacques commentedInstructions added to README.txt in 5.x-1.10 (released later today). Setting it as "by design" (the design of tinymce).