Make sure the tinymce module and spellcheck plugin are installed in the right path

ausvalue - July 7, 2008 - 12:08
Project:Tiny Tiny MCE
Version:6.x-1.7
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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 ?

#1

Steve Lockwood - July 7, 2008 - 16:37

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

#2

Steve Lockwood - July 15, 2008 - 19:11
Status:active» fixed

Instructions added to Install.txt

#3

Anonymous (not verified) - July 31, 2008 - 04:47
Status:fixed» closed

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

#4

dhj - March 19, 2009 - 16:14
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

 
 

Drupal is a registered trademark of Dries Buytaert.