(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 ( | ||
<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";