(Created page with '{{CKFinder_2.x FCKeditor Integration|ext=java}}') |
(No difference)
|
Latest revision as of 21:30, 1 April 2011
CKFinder comes with built-in API to easily integrate it with FCKeditor. Check the "_samples" folder for specific examples of it.
To instead configure FCKeditor manually to use CKFinder, just edit the fckconfig.js file in the FCKeditor directory and modify the following settings:
FCKConfig.LinkBrowserURL = '/ckfinder/ckfinder.html' ; FCKConfig.ImageBrowserURL = '/ckfinder/ckfinder.html?type=Images' ; FCKConfig.FlashBrowserURL = '/ckfinder/ckfinder.html?type=Flash' ; FCKConfig.LinkUploadURL = '/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Files' ; FCKConfig.ImageUploadURL = '/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Images' ; FCKConfig.FlashUploadURL = '/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Flash' ;
Just change "/ckfinder/" in the above URLs if you have CKFinder installed in a different place.