Configuration"

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:
 +
== Server Side Configuration ==
 
CKFinder configuration in the PHP language is based on editing the '''config.php''' file. To learn more go throughout the following sections:
 
CKFinder configuration in the PHP language is based on editing the '''config.php''' file. To learn more go throughout the following sections:
  
Line 15: Line 16:
 
** [[/Security/Html extensions|Html extensions]]
 
** [[/Security/Html extensions|Html extensions]]
 
* [[/File system Encoding|File system Encoding]]
 
* [[/File system Encoding|File system Encoding]]
 +
 +
== JavaScript Configuration ==
 +
 +
CKFinder configuration in the JavaScript language is based on editing the '''config.js''' file.
 +
Unlike the PHP configuration, it is more focused on the interface.<br>
 +
Below you'll find some most commonly used configuration settings:
 +
 +
* [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.callback callback]
 +
* [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.disableHelpButton disableHelpButton]
 +
* [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.extraPlugins extraPlugins]
 +
* [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.height height]
 +
* [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.language language]
 +
* [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.rememberLastFolder rememberLastFolder]
 +
* [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.selectActionFunction selectActionFunction]
 +
* [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.skin skin]
 +
* [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.startupPath startupPath]
 +
* [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.width width]
 +
 +
For the list of all available configuration options, check the [http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html CKFinder API documentation].
 +
 +
=== Example ===
 +
A sample config.js:
 +
<source>
 +
CKFinder.customConfig = function( config )
 +
{
 +
config.skin = 'v1';
 +
config.language = 'fr';
 +
};
 +
</source>

Revision as of 13:55, 17 May 2010

Server Side Configuration

CKFinder configuration in the PHP language is based on editing the config.php file. To learn more go throughout the following sections:

JavaScript Configuration

CKFinder configuration in the JavaScript language is based on editing the config.js file. Unlike the PHP configuration, it is more focused on the interface.
Below you'll find some most commonly used configuration settings:

For the list of all available configuration options, check the CKFinder API documentation.

Example

A sample config.js:

CKFinder.customConfig = function( config )
{
	config.skin = 'v1';
	config.language = 'fr';
};