Compatibility with themes that put all javascript at the bottom
AlenaSystems - June 14, 2008 - 03:26
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 6.x-1.4 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I am using FCKeditor. The editor works well with any other theme but does not show up when using the Blueprint theme.

#1
Check your javascript errors. You may find that because Blueprint puts all the javascript at the bottom of the file, inline "Drupal.extend" calls will be broken.
#2
Right that is likely the cause. I think then the issue is with how FCKEditor defines it JS since if it is setup correctly it should still work.
I suggest moving this issue over there...
#3
I will put this at the todo list
#4
5.x fixed in CVS.
#5
Fixed in 6--1 and 6--2 as well.
I'm not sure about 6--2 though, in 5--2 and 6--1 I used:
if (Drupal.jsEnabled) {$(document).ready(function() {'. $js .'});}but in 6--2 I had to remove document.ready call to start FCKeditor. It definitely has something to do with the new loading method of FCKeditor (Drupal.behaviors)... so please correct it Jorrit, if you think it should be done in a different way.
#6
Automatically closed -- issue fixed for two weeks with no activity.
#7
I use last version of Drupal and FCK. When I move
<?phpprint $scripts;
?>
just before tag, how is written here:
http://craigsworks.com/projects/qtip/docs/#installation
FCKeditor never render again. When I copy it back to FCKeditor start works again (so I leave it there for the present).
So this issue is not absolutely fixed IMHO.
#8
I found ** solution here **
http://wimleers.com/article/improving-drupals-page-loading-performance#r...
It should be
...<?php print $scripts ?>
<?php print $closure ?>
</body>
</html>
..and FCK works.
#9
This was also mentioned at http://drupal.fckeditor.net/troubleshooting#1.