Upgrade CKeditor when migrating from Drupal 6 to 7

10 Jun

Here is a quick fix that might help you if you are migrating from Drupal 6 to Drupal 7.

If your CKEditor version is stuck at 3.6 in your status report, but you are sure you have the latest version of the module in your module folder, you might think that Drupal 7 deliberately only offers the CKEditor 3 branch.

Actually, you can use CKEditor 4 by checking if the path to your installation is right, and by making sure you have the actual latest library files in the right folder.

First, download the module and unpack it into the right module folder (probably sites/all/modules/contrib). You might have to remove a pre-existing CKEditor module folder. (Or better, rename it to ckeditor_old for the time being, and delete it when you are sure everything works fine.)

Then, download the library files add the library files into the ckeditor/ckeditor folder (where the COPY_HERE.txt file is).

Finally, you can change the path to the CKEditor library files by going to your website’s /admin/config/content/ckeditor/editg page and pointing to %m/ckeditor in the “Path to CKEditor” field.

This should allow you to use the latest version of CKEditor. Check in your status report that the right version appears. If everything goes well (and if you have copied your custom configurations to your new installation, specifically to the ckeditor.config.js file, if needed), you can delete the old module folder and the old library files.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: