http://docs.cksource.com/CKFinder_2.x/D ... ntegration
CKFinder comes with built-in API to easily integrate it with CKEditor.
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.removePlugins = 'elementspath,save,font,resize,scayt,flash,iframe,iframedialog,fakeobjects,newpage,forms';
};var editor = CKEDITOR.replace( 'editor1' ); CKFinder.setupCKEditor( editor, '/mypath/ckfinder/' );

Re: Intergating CKFinder with CKEditor on classic asp
Re: Intergating CKFinder with CKEditor on classic asp
Re: Intergating CKFinder with CKEditor on classic asp
Have you set the right paths?
Do you have any error in the console?
have you included the ckfinder.js file?
Re: Intergating CKFinder with CKEditor on classic asp
the textarea id is 'editor1'...
I am just trying to get this to work for starters. Do I create a singleton for the CKEDITOR.editorConfig and call that 'editor1'???
thanks,
Paul
Re: Intergating CKFinder with CKEditor on classic asp
Re: Intergating CKFinder with CKEditor on classic asp
Now that i re-read your original post you state that you are adding
in the config.js file, but that's wrong, that code should go in the page in a load event or at the very least after your textarea has been created.
And the config.js file is loaded automatically, you don't have to manually insert that file into the page.
Re: Intergating CKFinder with CKEditor on classic asp
ok. I will do this real simple and old school. Here is a simple page.
<script src="/mypath/ckeditor/ckeditor.js" type="text/javascript"></script> <script src="/mypath/ckfinder/ckfinder.js" type="text/javascript"></script> <script type="text/javascript"> function loadckfinder(){ var editor = CKEDITOR.replace( 'editor1' ); CKFinder.setupCKEditor( editor, '/mypath/ckfinder/' ); } </script> </head> <body onload="loadckfinder()"> <textarea name="editor1" cols="62" rows="20" class="ckeditor" id="editor1"></textarea> </body> </html>Now I get the error...
hmmmmm....
still no luck..
Re: Intergating CKFinder with CKEditor on classic asp
Re: Intergating CKFinder with CKEditor on classic asp
Problem... concept... solved.
Re: Intergating CKFinder with CKEditor on classic asp
That will integrate any CKEditor (existing or created later) with CKFinder. (the downside is that you can't use different configuration options for each instance)
Re: Intergating CKFinder with CKEditor on classic asp