I have a D5 site, and I'm having some weird issues with blocks. I want to create a simple block from the block admin page where the customer can enter some text and a picture (using FCKEditor and IMCE). When I go to create the block, I 'm seeing two problems. First, the body area is very small without the editor showing up, even though that page is not excluded in the FCKEditor visibilty settings. Second, when I save the block and add it to a sidebar, it is not displayed. If I disable FCKEditor, the Body field is regular size, and when the block is saved and configured to display in a sidebar, it actually shows up. When I enable FCKEditor again, the body text field is very small again.
I have upgraded to the most recent version of FCKEditor itself. This issue occurs in FF, IE, Safari, Opera, and Chrome.
Comments
Comment #1
micheleannj commentedSame problem! Textareas are tiny, editor not showing up, and when I submit content with plaintext enabled, it doesn't get saved... But with 6.x
I have it running fine on other sites, so I'm not sure what I'm doing wrong this time.
Suggestions?
Thanks!
Comment #2
Alexander Ufimtsev commentedhaving similar issues. fckeditor works only for user id 1.
had to downgrade back to 2.1.
tried to uninstall and reinstall module and reconfigured module, upgraded fckeditor itself to 2.6.4 - no effect.
Comment #3
Alexander Ufimtsev commentedfixed the problem for me by clearing javascript cache (had javascript aggregation module installed).
Comment #4
wwalc commentedAs Alexander Ufimtsev noticed, you may have javascript aggregation enabled. Make sure that you have completely cleared browser's cache. Feel free to reopen this isssue if you have still any questions.
Check this link: http://drupal.fckeditor.net/troubleshooting#6
Comment #5
wonder95 commentedI have cleared my cache (both browser and database), and no aggregate caching is being used. Devel module is disabled. Nothing has changed; I still get a small window with no editor displayed.
Comment #6
wwalc commentedhttp://drupal.fckeditor.net/troubleshooting#3
To save your time: use Firefox with Firebug enabled and let me know what javascript error appeared.
Comment #7
wonder95 commentedFound the problem and fixed it. Looks like the issue is with jCarousel. The error I was getting was:
$("#mycarousel").jcarousel is not a function
This was because I had this script (as required by the plugin) in my page.tpl.php:
The jCarousel module only loads jcarousel.js on a node page (using hook_nodeapi when $op = 'load'), so on the block add pages, that function was conflicting for some reason with the jQuery for FCKEditor since jcarousel.js wasn't loaded. I moved the above function call to jcarousel.js, and everything works fine now.