Hi,
Thanks for your reply. I appreciate you very high for your kind to help me.
I try to folow all your steps you have intructed, but I unable to upload file to files to Scripts\ckeditor\ckfinder\userfiles
When I press "Insert Image" Browse file and choose and press button "Upload to server" but no happens here. No file is in this folder "Scripts\ckeditor\ckfinder\userfiles"
Error :
XML Parsing Error: not well-formed Location:
http://localhost:50165/Scripts/ckeditor/ckfinder/ckfinder.html?type=Images&CKEditor=forum_ctl03_YafTextEditor&CKEditorFuncNum=1&langCode=vi
Line Number 214, Column 30: if ((messageId == 0 && lastMessageId != 0) || lastMessageId < messageId)

I suppose that there is a problem in settings that cfkinder is unable to find the uploading folder "Scripts\ckeditor\ckfinder\userfiles"
ckeditor_init.js - ckeditor_initbbcode.js CKEDITOR.scriptLoader.load('Scripts/ckeditor/ckfinder/ckfinder.js', function (){
CKFinder.setupCKEditor( null, 'Scripts/ckeditor/ckfinder/' );
});
jQuery("a[id*='_PostReply'],a[id*='_Save']").click(function() {
yafCKEditor.editor.updateElement();
});
config.ascx public override bool CheckAuthentication()
{
return !YafContext.Current.IsGuest;
}
BaseUrl = HttpContext.Current.Request.Url.Scheme + "://" + HttpContext.Current.Request.Url.Authority + HttpContext.Current.Request.ApplicationPath + "/Scripts/ckeditor/ckfinder/";
BaseDir = Server.MapPath("~/Scripts/ckeditor/ckfinder/userfiles/");
Please help me!
Best regards,
Jackie
Edited by user
8 years ago
|
Reason: Not specified