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 12: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:
- callback
- disableHelpButton
- extraPlugins
- height
- language
- rememberLastFolder
- selectActionFunction
- skin
- startupPath
- width
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'; };