Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages12>
Problems with CKEditor
ldicocco
#1 Posted : Monday, February 01, 2010 4:27:20 AM(UTC)
Rank: Newbie
Groups: Registered

Joined: 9/14/2009(UTC)
Posts: 3
Location: Livorno (Italy)
I couldn't load any form containing a CKEditor.
This problem seems to be fixed by modifing ExternalResources.config like this:

<reference name="ckeditor" mimeType="text/javascript">
<add filename="~/JavaScript/CKEditor/CKeditor.js"/>
<add filename="~/JavaScript/ext/ux/Ext.ux.CKeditor.js"/>
</reference>

Still I wasn't able to save updates. This seems to be fixed by changing Ext.ux.CKEditor.js like this:


getValue: function() {
if (CKEDITOR.instances[this.id]) {
CKEDITOR.instances[this.id].updateElement();

return Ext.form.TextArea.superclass.getValue(this);
}
return "";
},



getRawValue: function() {
if (CKEDITOR.instances[this.id]) {
CKEDITOR.instances[this.id].updateElement();

return Ext.form.TextArea.superclass.getRawValue(this);

}
return "";
}
jifeng
#2 Posted : Monday, February 01, 2010 10:05:27 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
HI

Do you set the enabledCKEditor to "true" in web.config. In our test, the ckeditor is working well. You are no need to change anything.

We try to change the files as yours, but it can not work anyway.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
salman
#3 Posted : Saturday, February 13, 2010 10:15:00 PM(UTC)
Rank: Member
Groups: Registered

Joined: 2/13/2010(UTC)
Posts: 20
Location: Rotterdam, Amsterdam, The Netherlands
hello there

in my situation the ckeditor doesnt work as well.

it didnt in the previous version and it doesnt in the latest one (2.0.1). Also the ckfinder doesnt work yet. I did everything like it written in de documentation.

please help.

J
jifeng
#4 Posted : Saturday, February 13, 2010 11:35:12 PM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
HI

I have did a test again. In my situation it works very well, I test it in IE8/FF3.6/Google Chorme 4.0, they all work fine. Can you tell us more details about the error.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
salman
#5 Posted : Sunday, February 14, 2010 11:12:34 PM(UTC)
Rank: Member
Groups: Registered

Joined: 2/13/2010(UTC)
Posts: 20
Location: Rotterdam, Amsterdam, The Netherlands
thank you for your quick reply.

J'm not sure what the error is.

it just doesnt get saved.

is there a log somewhere where I can look?

thnx.

J
jifeng
#6 Posted : Monday, February 15, 2010 2:56:28 PM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
HI

It is a client javascript issue, we have not log the errors. Which browser you are using?
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
salman
#7 Posted : Monday, February 15, 2010 9:49:40 PM(UTC)
Rank: Member
Groups: Registered

Joined: 2/13/2010(UTC)
Posts: 20
Location: Rotterdam, Amsterdam, The Netherlands
I don't think its a clientscript issue. I'm using Chrome 4.0 and it also doesnt work in firefox and IE.

can it have something to do with folder/ file permissions?

J
jifeng
#8 Posted : Tuesday, February 16, 2010 11:37:55 PM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
Can you use firebug or other tools to catch what data posted when the form submit? I have seem the error in our test, but we had modified some code the fix the issue. I cannot debug if I cannot replay the issue.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
salman
#9 Posted : Thursday, April 08, 2010 5:43:48 AM(UTC)
Rank: Member
Groups: Registered

Joined: 2/13/2010(UTC)
Posts: 20
Location: Rotterdam, Amsterdam, The Netherlands
I still have problems with ckeditor.

I noticed that the data is posted to kooboo_content/submit en i see that all the JSON data is posted correctly (including the content of the editor), but it still doesnt get saved. And there are no errors reported.

What can I do about this..?
jifeng
#10 Posted : Thursday, April 08, 2010 9:17:44 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
HI salman

Could you put the screenshot here? I need to know how to reproduce the error.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
salman
#11 Posted : Thursday, April 08, 2010 3:38:22 PM(UTC)
Rank: Member
Groups: Registered

Joined: 2/13/2010(UTC)
Posts: 20
Location: Rotterdam, Amsterdam, The Netherlands
http://delta3.nl/Template/Delta3/BinaryResource/Theme/Untitled.png

notice that the oldData.Body and Body are the same.

salman
jifeng
#12 Posted : Friday, April 09, 2010 9:02:19 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
Sorry, the image is not found.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
salman
#13 Posted : Monday, April 12, 2010 2:23:18 AM(UTC)
Rank: Member
Groups: Registered

Joined: 2/13/2010(UTC)
Posts: 20
Location: Rotterdam, Amsterdam, The Netherlands
jifeng
#14 Posted : Monday, April 12, 2010 9:50:51 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
HI

Can you upgrade to lastest version(2.1.0.0) and have a try if the issue still exist?
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
salman
#15 Posted : Monday, April 12, 2010 4:35:41 PM(UTC)
Rank: Member
Groups: Registered

Joined: 2/13/2010(UTC)
Posts: 20
Location: Rotterdam, Amsterdam, The Netherlands
really strange....

the ckeditor doesnt appear at all in the newest version. If I debug i see an javascript error: 'lang.about.title' is null or not an object.

the returns from ckeditor.js line 34 col 850 to 916. If I remove that line (to test whats happening) I similiar errors.

I looked around on the net and there could be something with the url path: http://cksource.com/foru...ic.php?f=11&t=15944

Please help.

GazNewt
#16 Posted : Monday, April 12, 2010 5:23:24 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 2/2/2010(UTC)
Posts: 122
Location: England
Check the web.config is the ckeditor entry enabled?
salman
#17 Posted : Monday, April 12, 2010 5:31:12 PM(UTC)
Rank: Member
Groups: Registered

Joined: 2/13/2010(UTC)
Posts: 20
Location: Rotterdam, Amsterdam, The Netherlands
yes it is
jifeng
#18 Posted : Monday, April 12, 2010 6:07:21 PM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
HI salman

I'm dizzy. I have test the CKEditor again, everything works fine. Could you use the browser to open the demo.kooboo.com, and test if the CKEditor works ok?
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
salman
#19 Posted : Monday, April 12, 2010 6:12:15 PM(UTC)
Rank: Member
Groups: Registered

Joined: 2/13/2010(UTC)
Posts: 20
Location: Rotterdam, Amsterdam, The Netherlands
nope doesnt work...see the test application.

I'm using windows 7 and it doesnt work in IE8, Chrome nor Firefox.
salman
#20 Posted : Monday, April 12, 2010 6:15:59 PM(UTC)
Rank: Member
Groups: Registered

Joined: 2/13/2010(UTC)
Posts: 20
Location: Rotterdam, Amsterdam, The Netherlands
I got the same javascript error


'lang.about.title' is null or not an object.
Users browsing this topic
Guest
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.642 seconds.