Using CKFinder Plugins

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.

Line 1: Line 1:
CKFinder is a plugin-based application and as such can be relatively easy extended.
+
{{CKFinder_2.x Plugins Introduction}}
 
 
== Enabling JavaScript Plugins ==
 
 
 
To add a plugin to CKFinder, upload it to the plugins folder and enable it using the [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.extraPlugins extraPlugins] configuration option in '''config.js''':
 
 
 
<source>
 
CKFinder.customConfig = function( config )
 
{
 
config.extraPlugins = 'dummy';
 
};
 
</source>
 
  
 
== Enabling PHP Plugins ==
 
== Enabling PHP Plugins ==

Revision as of 11:49, 18 May 2010

CKFinder is a plugin-based application and as such it can be extended relatively easily.

Enabling JavaScript Plugins

To add a plugin to CKFinder, upload it to the plugins folder and enable it by using the extraPlugins configuration option in the config.js file:

CKFinder.customConfig = function( config )
{
	config.extraPlugins = 'dummy';
};

Enabling PHP Plugins

To add a plugin to CKFinder, upload it to the plugins folder and add an include_once/require_once statement in the PHP configuration file (config.php):

include_once "plugins/imageresize/plugin.php";

Related topics