Download & Extend

Cannot use CKEditor module to create header/footer in Views

Project:CKEditor - WYSIWYG HTML editor
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:#d7ux, ckeditor-7.x, D7

Issue Summary

I am using the CKEditor module 7.x-1.x-dev with CKEditor 3.5 and Views 7.x-3.0-alpha1. I cannot create/edit a header or footer for a view unless I disable the CKEditor module. If I try to create/edit the header or footer, Neither the CKEditor nor the plain text editing box shows up, and I get the following error message in my browser (IE8):

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; Tablet PC 2.0; .NET4.0C)
Timestamp: Sun, 23 Jan 2011 19:26:18 UTC
Message: 'lang.contextmenu.options' is null or not an object
Line: 251772631
Char: 1845
Code: 0

Please let me know if there is a fix for this. Thanks!

--
John Graminski

Comments

#1

I'm have been trying to enable the ckeditor for views header field as well (D6, Views2 though) and haven't been successful either. I would love to be able to use ckeditor to edit the header field in View.

I have enabled/included the exact fieldname as suggested without any wildcards.

#2

I also require this too!

#3

Status:active» needs work

I disable CKEditor in Views module. As i see it's problem with attaching ckeditor to dynamic created textareas, where all libraries are loaded with AJAX.

All changes i commit to CVS and mark this issue as needs work.

#4

I commit next patch to CVS. Now CKEditor works good, but it's one problem:
In the first load Views module load with AJAX all librares and CKEditor works, but when u change any textarea it's not do this again so then CKEditor is not loaded. I try to fix it asap, maybe i try contact with maintainers of Views module and they help to fix this problem.

Greetings

#5

hero! :)

#6

Status:needs work» fixed

I fix problem with attaching editor and textareas loaded by AJAX. Now everything seems to work fine.

Changes commited to CVS.

Please check the latest dev release and let me know if you notice any poblems with it. Remember to clear Drupal cache and browsers cache before testing.

#7

Status:fixed» needs work

I found some problems on Chrome and IE - editor not loading every time.

So I mark this issue as "needs work" again.

Greetings

#8

Does this only work in Views3? I can't get it to work in Views2...

#9

Status:needs work» fixed

I fix all bugs with Views, now everything should work.
Changes commited to CVS.

Please check the latest dev release and let me know if you notice any poblems with it. Remember to clear Drupal cache and browsers cache before testing.

@RedTop, U could try now last DEV version but i think it wouldn't work with Views2 - update to Views3 there everything works.

Greetings

#10

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#11

Status:closed (fixed)» active

I'm reopening this as it is broken again. I have cleared both Drupal and browser cache and I'm using the latest dev version of CKEditor with views-7.x-3.x-dev.tar.gz, but I can't get any CKEditor when editing the header or footer.

It seems as though the CKEditor JavaScripts aren't even loaded (judging by Firebug).

#12

Status:active» closed (fixed)

Hi,
@damd please don't reopen closed tickets. If you still have problem with this please open new ticket an link it here.
Back to your problem , which modules do you have installed and please write if you have Pagespeed module
(Google web page optimizer ) on you hosting installed.