m |
m (Typo corrected) |
||
Line 1: | Line 1: | ||
If you want to install CKEditor for Drupal, follow the steps described below. | If you want to install CKEditor for Drupal, follow the steps described below. | ||
− | * Download the installation package (<code>.zip</code> archive from the official CKEditor for Drupal website. | + | * Download the installation package (<code>.zip</code> archive) from the official CKEditor for Drupal website. |
* Unpack the contents of the installation package into the <code>drupal/sites/all/modules/ckeditor</code> directory. | * Unpack the contents of the installation package into the <code>drupal/sites/all/modules/ckeditor</code> directory. | ||
* When the files are unpacked, you should see the following file structure inside the <code>drupal/sites/all/modules</code> directory: | * When the files are unpacked, you should see the following file structure inside the <code>drupal/sites/all/modules</code> directory: |
Revision as of 08:16, 13 October 2011
If you want to install CKEditor for Drupal, follow the steps described below.
- Download the installation package (
.zip
archive) from the official CKEditor for Drupal website. - Unpack the contents of the installation package into the
drupal/sites/all/modules/ckeditor
directory. - When the files are unpacked, you should see the following file structure inside the
drupal/sites/all/modules
directory:
modules <dir> ... ckeditor <dir> ckeditor <dir> ckfinder <dir> images <dir> includes <dir> plugins <dir> changelog.html ckeditor.api.php ckeditor.css ckeditor.info ckeditor.install ckeditor.module ckeditor.styles.js ckeditor-rtl.css license.html README.txt TROUBLESHOOTING.txt UPGRADE.txt ...
- Enable the module in the Administration panel > Modules > User Interface section of your Drupal site.
- Grant permissions for using CKEditor in the Administration panel > People > Permissions section.
- Add your license name and key by editing the Global Profile in the Administration panel > Configuration > Content Authoring > CKEditor > Global settings section. CKEditor will now run in licensed mode.
- Adjust CKEditor profiles in the Administration panel > Configuration > Content Authoring > CKEditor section. Profiles determine which options are available to users based on the input format system.
- If you want to enable CKFinder, an advanced Ajax file browser, see the Installing CKFinder section below.
Installing CKFinder
CKFinder is an Ajax-based file manager created by CKEditor developers: http://ckfinder.com/. It is already included in your licensed CKEditor for Drupal module, so all you need to do is enable it in the Drupal administration panel.
- Grant the "CKFinder access" permission in the Administration panel > People > Permissions section.
- Open the Drupal settings file (
sites/default/settings.php
) and do the following:- Uncomment the
$base_url
variable and set the base URL of your website (without the trailing slash). - Uncomment the
$cookie_domain
variable and set the domain name of your website.
- Uncomment the
- Configure CKFinder settings in the File browser settings section for the CKEditor profile that you want to use.