| 1 |
********************************************************************
|
| 2 |
D R U P A L M O D U L E
|
| 3 |
********************************************************************
|
| 4 |
Name: TinyMCE module
|
| 5 |
|
| 6 |
Dependancies:
|
| 7 |
This module requires the third-party TinyMCE editor and a
|
| 8 |
Javascript-enabled web browser. Currently it is known to work
|
| 9 |
with Internet Explorer, Mozilla and Firefox and degrade gracefully
|
| 10 |
for Safari and Konqueror users. A browser compatibility chart is here:
|
| 11 |
|
| 12 |
http://tinymce.moxiecode.com/tinymce/docs/compatiblity_chart.html
|
| 13 |
|
| 14 |
|
| 15 |
INSTALLATION:
|
| 16 |
********************************************************************
|
| 17 |
|
| 18 |
NOTE: During this installation process you'll be asked to also
|
| 19 |
install the official TinyMCE package from
|
| 20 |
tinymce.moxiecode.com.
|
| 21 |
|
| 22 |
|
| 23 |
1. Place the entire tinymce directory into your Drupal modules/
|
| 24 |
directory.
|
| 25 |
|
| 26 |
|
| 27 |
2. Download TinyMCE 2.1 from
|
| 28 |
|
| 29 |
http://tinymce.moxiecode.com/
|
| 30 |
|
| 31 |
Remember to uncompress the file and make sure the folder is named
|
| 32 |
'tinymce'.
|
| 33 |
|
| 34 |
|
| 35 |
3. Place the entire 'tinymce' engine folder inside your modules/tinymce
|
| 36 |
directory. So the TinyMCE engine will live in modules/tinymce/tinymce
|
| 37 |
|
| 38 |
|
| 39 |
4. Enable this module by navigating to:
|
| 40 |
|
| 41 |
administer > modules
|
| 42 |
|
| 43 |
*note - all database tables will be automatically created during this step
|
| 44 |
|
| 45 |
|
| 46 |
5. Setup role based tinymce profiles via
|
| 47 |
|
| 48 |
administer > settings > tinymce
|
| 49 |
|
| 50 |
|
| 51 |
6. To boost the performance of TinyMCE, download the "TinyMCE compressor" from:
|
| 52 |
|
| 53 |
http://tinymce.moxiecode.com/download.php
|
| 54 |
|
| 55 |
Place the tiny_mce_gzip.js and tiny_mce_gzip.php files in
|
| 56 |
|
| 57 |
modules/tinymce/tinymce/jscripts/tiny_mce
|
| 58 |
|
| 59 |
|
| 60 |
7. To use AJAX spell checking, download the spellchecker plugin:
|
| 61 |
(note: this requires TinyMCE 2.0.6+)
|
| 62 |
|
| 63 |
http://tinymce.moxiecode.com/download.php
|
| 64 |
|
| 65 |
Extract this file to
|
| 66 |
|
| 67 |
modules/tinymce/tinymce/jscripts/tiny_mce/plugins/
|
| 68 |
|
| 69 |
Then edit config.php in plugins/spellchecker/:
|
| 70 |
|
| 71 |
Uncomment this line and comment out all other require_once's:
|
| 72 |
|
| 73 |
require_once("classes/TinyGoogleSpell.class.php"); // Google web service
|
| 74 |
|
| 75 |
Set this to true:
|
| 76 |
|
| 77 |
$spellCheckerConfig['enabled'] = true;
|
| 78 |
|
| 79 |
Enable spellchecker in TinyMCE settings page, under "buttons and plugins"
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
Create new content as a role that has TinyMCE permissions and see TinyMCE in
|
| 84 |
action!
|
| 85 |
|
| 86 |
|