Is there a way to ensure where the toggle message is positioned?
For instance, I've configured FCKeditor to display in a popup window, but in a module I've developed, the instruction line appears before a form update button I've included in the module. Having it in that position makes my form a little confusing.
Also, is there a way to control the exact message that is displayed.
I guess I can dig into the code for the message (and probably the positioning to boot), but I thought someone might have already solved the issue.
I've attached an image showing what I mean. The attached image shows an annotation module from Pro Drupal Development, but I have the same issue in the module I'm developing.
Thanks.
For instance, I've configured FCKeditor to display in a popup window, but in a module I've developed, the instruction line appears before a form update button I've included in the module. Having it in that position makes my form a little confusing.
Also, is there a way to control the exact message that is displayed.
I guess I can dig into the code for the message (and probably the positioning to boot), but I thought someone might have already solved the issue.
I've attached an image showing what I mean. The attached image shows an annotation module from Pro Drupal Development, but I have the same issue in the module I'm developing.
Thanks.
Re: Controlling where the Richtext toggle instruction is placed
FCKeditor is placing the popup link within a span just before my form's submit button.
(see: snippet from source code below - after the post. I've highlighted where FCK places the span - just before my submit button)
I'll try various configurations to see where FCK places this span, but I assume it will be the same.
Also, I've overridden page.tpl.php in my theme and have moved the mission statement to a different position.
I might have inadvertently caused a dangling div to be emitted.
I'll check back in when I've confirmed, but as stated in my original post, if anyone has had this issue and has a solution, I'd love to hear about it.
<span class="fckeditor_popuplink">(<a href="#" onclick="FCKeditor_OpenPopup('/drupal/sites/all/modules/fckeditor/fckeditor.popup.html?var=oFCK_1&el=edit-note');return false;">Open rich editor</a>)</span><input type="submit" name="op" id="edit-submit" value="Update" class="form-submit" />