The TinyTinyMCE is a great advance in helping to allow people to use a powerful wysiwyg editor.

One problem that I'm finding with it at the moment is the inability to get the PHP spellchecker working with the google spellchecker service.

TinyTinyMCE comes with iespell already configured and working. In Use, this in my experience is actually a better spell checker than the spellchecker plugin but has the problem that it only works when using Microsoft's Internet Explorer. That is something that is totally contrary to the whole spirit of Open Source Public Domain Software. I, like many people, use Firefox and iespell will not work on firefox.

There is an alternative spellchecker plugin that should allow use with any browser. The version of the spellchecker that comes with the standard download of Moxiecode's TinyMCE requires specific facilities on the server and access to the server that many don't have and installation that many cannot perform. There is an alternative PHP version that is meant to be able to be downloaded and then has an option to use a google service in order to perform spell checking.

The alternative PHP spellchecker works well with the older Drupal TinyMCE module, although I haven't tried it with the new Moxiecode TinyMCE since they upgraded from Version 2 to vers 3.

Everytime I try to use it with TinytinyMCE I get the message

'please specify spellchecker_rpc_url'

I have tried the latest downloaded version tinymce_spellchecker_php_2_0_2.zip and I have tried with an old version from 6 months ago. I always get that same error message. The documentation for the spellchecker module states the following

[spellchecker_rpc_url]
URL to back end for example the PHP rpc service document or some custom spellchecker service. This option doesn't need to be specified if you downloaded the PHP Spellchecker package.

From the above, I should not get this message and in the case of the google service, I have not idea what I should put for this.

Is this a problem with
a) me, not knowing how to install this,
B) the tinytinymce module
or C) A problem with Moxiecode code since they upgraded from Vers 2 to Vers. 3 ?

Comments

Steve Lockwood’s picture

Hi Ken,

The following settings seemed to work on my local machine - haven't tried them on a hosted website yet. You will already have done some of these steps but I'm making this as complete as possible so it might be of use to others.

I downloaded tinymce_spellchecker_php_2_0_2.zip (which I got from http://tinymce.moxiecode.com/download.php) and installed it in /sites/all/modules/tinytinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker

I then went to admin/settings/tinytinymce and edited the TinyMCE init script for advanced mode:

   ...
   plugins : "...,spellchecker,...",
   ...
   theme_advanced_buttons4 : "...,spellchecker,...",
   ...
   spellchecker_rpc_url: "/sites/all/modules/tinytinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/rpc.php",
   ...

The zip file contains a config.php, which presumably you could reconfigure to other spellcheckers. Out of the box, it seems to be configured for GoogleSpell.

I hope this is of some use.

Steve

Steve Lockwood’s picture

Status: Active » Fixed

Instructions added to Install.txt

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

dhj’s picture

Title: PHP Spellchecker plugin with Google Service. » Make sure the tinymce module and spellcheck plugin are installed in the right path

Hi Ken,

I ran into the same problem - 'please specify spellchecker_rpc_url', whatever I did with the config file. The cause was having unpacked the TinyMCE module and the zip file of the spellcheck plugin under the wrong path. On a Debian or Ubuntu server, instead of unpacking the zip file in:

/etc/drupal/5/modules/

it should be unpacked in:

/etc/drupal/5/sites/all/modules/

Then it works perfectly if you follow Steve's instructions above. If you are using Drupal 6 I guess you would use the path:

/etc/drupal/6/sites/all/modules/

instead.

Cheers!

Daniel

wwwoliondorcom’s picture

Hello,

Can you tell how to use a Spell checker with Tiny tiny Mce ? And is it a "as you type" spellchecker as on Words or Firefox ?

Thanks for help.

ps: sorry to ask this also, but last time i tried TinyTinyMce was the best and easier Wysiwyg editor to use on Drupal, is it still ?

wwwoliondorcom’s picture

Any help ?

MakeOnlineShop’s picture

Hello,

I modified my " TinyMCE init script for advanced mode" this way:

-the line after plugins :
"spellchecker,safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",

-the line after theme_advanced_buttons4 :
"spellchecker,styleprops,|,cite,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak",

-the line following template_external_list_url : "example_template_list.js",
spellchecker_rpc_url: "/sites/all/modules/tinytinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/rpc.php",

I now see the Spellchecker icon in Wysiwyg but when I click to check "loading circle" rotates to show that it works but then it seems that the text has not been checked as nothing is underlined, any idea why ?

Thank you so much for your help.