Jump to content


spellchecker plugin


  • You cannot reply to this topic
2 replies to this topic

#1 Meriadoc

    Etomite Forum Newbie

  • Member
  • 2 posts

Posted 06 October 2006 - 01:34 PM

I've just spent the last 2 hours attempting to get the tinyMCE Spellchecker plugin working. i've been following the instructions here:
http://tinymce.moxiecode.com/tinymce/docs/...ellchecker.html

However I've had to admit defeat.

We have pspell support enabled, and I'd corrently installed the spellchecker plugin in the tiny_mce plugin directory. I had then edited the "mutate_content.dynamic.action.php" file adding in these lines to the "tinyMCE.init" call:

plugins : "spellchecker",
theme_advanced_buttons3_add : "spellchecker",
spellchecker_languages : "+English=en",

However no icon appeared in the menu. The plugin tab in the "About TinyMCE" window did contain an entry for the spellchecker but is was missing version details.

Has anyone successfully installed the tinyMCE spellchecker plugin?

Edited by Meriadoc, 06 October 2006 - 01:36 PM.


#2 roberts-end

    Etomite Forum Newbie

  • Member
  • 9 posts

Posted 06 November 2006 - 11:54 AM

Following your advice, I decided to try the latest version of TinyMce spellchecker plugin rather than iespell. I also upgraded top latest version of tinyMce. Seems to work fine for me (Etomite 6.1.2, Php version 4.4.2, IE6). I configured it to use Google spellchecker.

Procedure is:

1) Download tinyMce version 2.0.8 and spellcheck php version 1.0.2 from
http://tinymce.moxiecode.com/download.php

2) Unzip and add spellcheck to tinyMce's plugins directory (ends up as
manager\media\tinymce\jscripts\tiny_mce\plugins\spellchecker

3) Edit the file
manager\media\tinymce\jscripts\tiny_mce\plugins\spellchecker\config.php
to select language and enable spell checker (I have highlighted the change I made):

// Spellchecker class use
// require_once("classes/TinyPspellShell.class.php"); // Command line pspell
require_once("classes/TinyGoogleSpell.class.php"); // Google web service
// require_once("classes/TinyPspell.class.php"); // Internal PHP version

// General settings
$spellCheckerConfig['enabled'] = true;


4) On your site rename manager\media\tinymce to something like manager\media\tinymce_2_0_2 and upload the new version to manager\media\tinymce

6) Edit manager\actions\dynamic\mutate_content.dynamic.action.php to add the plugin and a button for it:


//plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,z
oom,flash,searchreplace,print,contextmenu,paste,directionality,fullscreen,nonedit
able,ibrowser",
plugins : "table,save,advhr,advimage,advlink,emotions,spellchecker,insertdatetime,prev
iew,zoom,flash,searchreplace,print,contextmenu,paste,directionality,fullscreen,no
neditable,ibrowser",

......
// theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print,separator,ltr,rtl,separator,fu
llscreen,ibrowser",
theme_advanced_buttons3_add : "emotions,spellchecker,flash,advhr,separator,fullscreen,ibrowser",





#3 PeterD

    Etomite Forum Newbie

  • Member
  • 2 posts

Posted 23 November 2006 - 07:58 PM

If you want the Google spellchecker, the tinymce google spellchecker php class \manager\media\tinymce\jscripts\tiny_mce\plugins\spellchecker\classes\TinyGoogleSpell.class.php contains this little chestnut
$ch = curl_init();
which means you need php with curl compiled. If your php build doesn't support curl, you can't use google spell.

Having said that, I DO have curl, tinymce2.0.8 and spellchecker, I HAVE modified manager\media\tinymce\jscripts\tiny_mce\plugins\spellchecker\config.php as above and I HAVE specified the spellchecker settings in the \actions\dynamic\mutate_content.dynamic.action.php YET it doesn't show up in the editor. Will post back here if a light comes on.

Edited by PeterD, 23 November 2006 - 08:24 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users