Adding New Resource Types

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 content moved to a template)
 
(Template text expanded)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
 
{{#CUSTOMTITLE:Adding New Resource Types}}
 
{{#CUSTOMTITLE:Adding New Resource Types}}
When you want to create a new resource type, you should place the section below in your {{{file}}} file. Note that the options you can use are described in the [[{{{link}}}]] section.
+
When you want to create a new resource type, you should place the section below in your {{{file}}} file. Note that the options you can use are described in the [[{{{link}}}|Handling Built-in Resource Types]] section.
  
Example: Suppose you want to create a new resource type named <code>MSdocs</code>, which will only be used for files with the <code>.doc</code>, <code>.ppt</code>, and <code>.xls</code> extensions and the maximum size of 2 megabytes.
+
Example: Suppose you want to create a new resource type named <code>MSdocs</code>, which will only be used for files with the <code>.doc</code>, <code>.ppt</code>, and <code>.xls</code> extensions and the maximum size of 2 megabytes. Add the following code to your configuration file.

Latest revision as of 07:59, 31 March 2011

When you want to create a new resource type, you should place the section below in your {{{file}}} file. Note that the options you can use are described in the [[{{{link}}}|Handling Built-in Resource Types]] section.

Example: Suppose you want to create a new resource type named MSdocs, which will only be used for files with the .doc, .ppt, and .xls extensions and the maximum size of 2 megabytes. Add the following code to your configuration file.

This page was last edited on 31 March 2011, at 07:59.