Hi,
I set up both ckeditor (ckedito_3.6.1) and ckfinder (ckfinder_php_2.0.2) in a web page. They both work individualy.
To launch CKEditor I do :
require_once 'ckeditor/ckeditor.php'; $wysiwyg_teaser = new CKEditor(); $wysiwyg_teaser->editor('teaser', $value);
and I did not change anything at CKEdirtor's configuration
Concerning CKFinder, I did
define( 'CKFINDER_DEFAULT_BASEPATH', 'ckfinder/' ) ;
and
$baseUrl = 'http://localhost/intranet/customized/fileUpload/'; $baseDir = 'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/intranet/customized/fileUpload/';
and I launch CKFinder with :
require_once 'ckfinder/ckfinder.php'; $finder = new CKFinder(); $finder->Create();
CKFinder is installed in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\intranet\customized\ckfinder and CKEditor in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\intranet\customized\ckeditor and I want all my files to be uploaded in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\intranet\customized\fileUpload.
Now, how do I get CKFinder integrated into CKEditor. In the docs, I read to do this :
CKEDITOR.replace( 'editor1', { filebrowserBrowseUrl : '/browser/browse.php', filebrowserUploadUrl : '/uploader/upload.php' });
But I dont have any browse.php or upload.php to point to in CKEditor or CKFinder folders... I suppose I have to indicate somewhere in CKEditor that CKFinder must be used...
Thanks
Re: Tyring to set up ckfinder in ckeditor
I am not sure which docs you are referring to, but if you are using PHP, did you read this article: http://docs.cksource.com/CKFinder_2.x/D ... ntegration ?
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Tyring to set up ckfinder in ckeditor
I was refering to this : http://docs.cksource.com/CKEditor_3.x/D ... ploader%29
Thanks for the article, I'll go take a look