Drupal 5.x

Bringing CKEditor to Drupal 5

At the moment, there is no pre-packaged way to add CKEditor to Drupal 5.  The following is a result of my attempt to port the Drupal 6 wysiwyg module's CKEditor plugin to the Drupal 5 version.  It's ugly, but accomplishes my goal of getting CKEditor going in D5 without having to create a new module from scratch or try to port the rather large D6 module for CKEditor.
 
Step 1) Create ckeditor.inc (this is based off the D5 version of fckeditor.inc and the D6 version of ckeditor.inc), and place it under wysiwyg/editors
 

Adding a select all checkbox to your drupal form.

with terms

The following snippet can be useful in adding a "select all" box to your drupal forms (5.x - with or without jQuery update).  Note that the code is careful to not check or uncheck any boxes that are not part of the immediate form.
 

Syndicate content