Hi All,
I've got CKEditor going fine. I've got CKFinder going fine. I'm now trying to integrate them (using the manual method of setting filebrowserBrowseUrl etc.)
Selecting the image button in CKEditor, I'm getting the "Browse Server" button and my file browser page appears if I click it (with ?CKEditor=<the name of the text area ckeditor replaces>&CKEditorFuncNum=2&langCode=en on the end of it's URL). However, when I double click on a file it doesn't get transferred to the image dialog.
I also noticed that I don't have "Select" in the right click menu within CKFinder.
Can anyone give me a pointer as to what might be the problem/worth investigating.
Cheers
I've got CKEditor going fine. I've got CKFinder going fine. I'm now trying to integrate them (using the manual method of setting filebrowserBrowseUrl etc.)
Selecting the image button in CKEditor, I'm getting the "Browse Server" button and my file browser page appears if I click it (with ?CKEditor=<the name of the text area ckeditor replaces>&CKEditorFuncNum=2&langCode=en on the end of it's URL). However, when I double click on a file it doesn't get transferred to the image dialog.
I also noticed that I don't have "Select" in the right click menu within CKFinder.
Can anyone give me a pointer as to what might be the problem/worth investigating.
Cheers

Re: CKEditor, CKFinder integration problems
http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_%28Uploader%29/Custom_File_Browser
<script type="text/javascript"> function getUrlParam(paramName) { var reParam = new RegExp('(?:[\?&]|&)' + paramName + '=([^&]+)', 'i') ; var match = window.location.search.match(reParam) ; return (match && match.length > 1) ? match[1] : '' ; } var finder = new CKFinder( { height: '800px' }); finder.basePath = '/js/ckfinder/'; finder.selectActionFunction = function(fileURL, data) { var funcNum = getUrlParam('CKEditorFuncNum'); window.opener.CKEDITOR.tools.callFunction(funcNum, fileURL); }; finder.create(); </script>