@earthisland,
Have you had any issues with this in an edit form?
If I use the same concept, it doesn’t retrieve the text from that field anymore. here is the text area. I am using the solspace form helper with it.
<h6>VisitDetails <div class="required">Required</div></h6>
<p> <div class="spacer"></div><br />
<textarea name="{exp:form_helper:field_grabber field_name="ft_description"}" cols="66" rows="15"><br />
{ft_description}<br />
</textarea><br />
<div class="spacer"></div>
Here is the script for initializing Tiny MCE
~script type="text/javascript" src="{sitelink}/system/scripts/tiny_mce/tiny_mce.js"~
~/script~
~script type="text/javascript"~
tinyMCE.init({
theme : "advanced",
mode : "textareas",
skin : "o2k7",
skin_variant : "black",
// Advanced Theme
theme_advanced_blockformats : 'p,h1,h2,h3,h4,h5,h6,code',
theme_advanced_toolbar_location : 'top',
theme_advanced_toolbar_align : 'left',
theme_advanced_statusbar_location : 'bottom',
theme_advanced_resize_horizontal : false,
theme_advanced_resizing : true,
/*
Basic configuration
My Favs - Simple but effective
*/
plugins : 'safari,pagebreak,style,inlinepopups,media,contextmenu,paste,'
+ 'fullscreen,xhtmlxtras',
theme_advanced_buttons1 : 'cut,copy,pastetext,|,formatselect,|,'
+ 'link,unlink,|,image,|,visualaid,fullscreen,|,cleanup,removeformat,code',
theme_advanced_buttons2 : 'bold,italic,strikethrough,acronym,abbr,ins,del,nonbreaking,|,bullist,numlist,indent,outdent,',
theme_advanced_buttons3 : '',
});
~/script~
If I comment out the script in the header of the page, and reload the page, the edit form display’s the field’s information fine, the a standard text area. If I remove the comments and initialize the script, tiny MCE display’s fine, the field information is blank, and I cannot edit the form.
Very strange quirks.
Anyone have an issue like this?