Difference between revisions of "Template:CKFinder FCKeditor Integration"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
To instead configure FCKeditor manually to use CKFinder, just edit the fckconfig.js file in the FCKeditor directory and modify the following settings:
 
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' ;
+
{{#tag:source|
  FCKConfig.ImageBrowserURL = '/ckfinder/ckfinder.html?type=Images' ;
+
  FCKConfig.LinkBrowserURL = '/ckfinder/ckfinder.html' ;
  FCKConfig.FlashBrowserURL = '/ckfinder/ckfinder.html?type=Flash' ;
+
  FCKConfig.ImageBrowserURL = '/ckfinder/ckfinder.html?type=Images' ;
  FCKConfig.LinkUploadURL = '/ckfinder/core/connector/{{{ext}}}/connector.{{{ext}}}?command=QuickUpload&type=Files' ;
+
  FCKConfig.FlashBrowserURL = '/ckfinder/ckfinder.html?type=Flash' ;
  FCKConfig.ImageUploadURL = '/ckfinder/core/connector/{{{ext}}}/connector.{{{ext}}}?command=QuickUpload&type=Images' ;
+
  FCKConfig.LinkUploadURL = '/ckfinder/core/connector/{{{ext}}}/connector.{{{ext}}}?command=QuickUpload&type=Files' ;
  FCKConfig.FlashUploadURL = '/ckfinder/core/connector/{{{ext}}}/connector.{{{ext}}}?command=QuickUpload&type=Flash' ;
+
  FCKConfig.ImageUploadURL = '/ckfinder/core/connector/{{{ext}}}/connector.{{{ext}}}?command=QuickUpload&type=Images' ;
 
+
  FCKConfig.FlashUploadURL = '/ckfinder/core/connector/{{{ext}}}/connector.{{{ext}}}?command=QuickUpload&type=Flash' ;
 +
}}
 
Just change "/ckfinder/" in the above URLs if you have CKFinder installed in a different place.
 
Just change "/ckfinder/" in the above URLs if you have CKFinder installed in a different place.

Latest revision as of 12:48, 18 January 2010

CKFinder comes with built it APIs 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/{{{ext}}}/connector.{{{ext}}}?command=QuickUpload&type=Files' ;
 FCKConfig.ImageUploadURL = '/ckfinder/core/connector/{{{ext}}}/connector.{{{ext}}}?command=QuickUpload&type=Images' ;
 FCKConfig.FlashUploadURL = '/ckfinder/core/connector/{{{ext}}}/connector.{{{ext}}}?command=QuickUpload&type=Flash' ;

Just change "/ckfinder/" in the above URLs if you have CKFinder installed in a different place.

This page was last edited on 18 January 2010, at 12:48.