Deployment"

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:
== Production Deployment ==
+
== Production Deployment ==
  
Not all files are required by the editor to run, and you could reduce the number and size of the files to be published in a production environment by removing:
+
Not all files are required by the editor to run, and you could reduce the number and size of the files to be published in a production environment by removing:  
  
* All '''directories''' that start with one underscore (like _docs and _sample) including "editor/_source".
+
*All '''directories''' that start with one underscore (like _docs and _sample) including "editor/_source".  
* Any '''skins''' you are not using from the "editor/skins" directory.
+
*Any '''skin''' you are not using from the "editor/skins" directory.  
* Any "'''smiley'''" collections you are not using from the "editor/images/smiley" directory.
+
*Any "'''smiley'''" collection you are not using from the "editor/images/smiley" directory.  
* Any '''plugins''' you don't need from the "editor/plugins" directory.
+
*Any '''plugin''' you don't need from the "editor/plugins" directory.  
* Any '''connectors''' you don't need from the "editor/filemanager/browser/default/connectors" directory.
+
*Any '''connector''' you don't need from the "editor/filemanager/connectors" directory.  
* Any "'''fckeditor.ext'''" files you don't need from the root of the editor package (based on your server side language).
+
*Any "'''fckeditor.ext'''" file you don't need from the root of the editor package (based on your server side language).  
* Any "'''<lang>.js'''" files you don't need from the "editor/lang" directory (only if [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/AutoDetectLanguage|AutoDetectLanguage]] = false).
+
*Any "'''<lang>.js'''" file you don't need from the "editor/lang" directory (only if [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/AutoDetectLanguage|AutoDetectLanguage]] = false).
  
At a minimum, there should be 4 files in the root FCKeditor folder: fckeditor.php (or other extensions), fckstyles.xml, fcktemplates.xml and fckconfig.js
+
At a minimum, there should be 4 files in the root FCKeditor folder: fckeditor.php (or other extensions), fckstyles.xml, fcktemplates.xml and fckconfig.js  
  
 
'''NOTE''': Do not remove the file "'''fckconfig.js'''"; otherwise the editor will not work and JavaScript errors could be thrown.
 
'''NOTE''': Do not remove the file "'''fckconfig.js'''"; otherwise the editor will not work and JavaScript errors could be thrown.

Revision as of 09:08, 15 May 2008

Production Deployment

Not all files are required by the editor to run, and you could reduce the number and size of the files to be published in a production environment by removing:

  • All directories that start with one underscore (like _docs and _sample) including "editor/_source".
  • Any skin you are not using from the "editor/skins" directory.
  • Any "smiley" collection you are not using from the "editor/images/smiley" directory.
  • Any plugin you don't need from the "editor/plugins" directory.
  • Any connector you don't need from the "editor/filemanager/connectors" directory.
  • Any "fckeditor.ext" file you don't need from the root of the editor package (based on your server side language).
  • Any "<lang>.js" file you don't need from the "editor/lang" directory (only if AutoDetectLanguage = false).

At a minimum, there should be 4 files in the root FCKeditor folder: fckeditor.php (or other extensions), fckstyles.xml, fcktemplates.xml and fckconfig.js

NOTE: Do not remove the file "fckconfig.js"; otherwise the editor will not work and JavaScript errors could be thrown.