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.

(Article contents proof-read and formatted, some replaced with a template)
 
Line 2: Line 2:
  
 
== Enabling PHP Plugins ==
 
== Enabling PHP Plugins ==
 
+
To add a plugin to CKFinder, upload it to the <code>plugins</code> folder and add an <code>include_once</code> or <code>require_once</code> statement in the PHP configuration file (<code>config.php</code>):
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'''):
 
  
 
<source lang="php">
 
<source lang="php">

Latest revision as of 11:38, 1 April 2011

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 or require_once statement in the PHP configuration file (config.php):

include_once "plugins/imageresize/plugin.php";

Related topics

This page was last edited on 1 April 2011, at 11:38.