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 17: Line 17:
 
* [[/File system Encoding|File system Encoding]]
 
* [[/File system Encoding|File system Encoding]]
  
== JavaScript Configuration ==
+
{{CKFinder_2.x JavaScript Configuration|language=PHP}}
 
 
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:
 
 
 
<table>
 
<tr valign="top">
 
<td style="width:130px">
 
* [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#.width width]
 
* [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#.skin skin]
 
</td>
 
<td style="width:130px">
 
* [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#.selectActionFunction selectActionFunction]
 
* [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#.rememberLastFolder rememberLastFolder]
 
</td>
 
<td>
 
* [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]
 
</td>
 
</tr>
 
</table>
 
 
 
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:23, 18 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 JavaScript is based on editing the config.js file. Unlike the PHP configuration, it is more focused on the interface.
Below you will find some most commonly used configuration settings:

For the list of all available configuration options refer to the CKFinder API documentation.

Example

Below you can find a sample config.js file.

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