Just did this and would like to document. Maintainer, any suggestions?

here's the quick and dirty version:

To use Speller Pages just set the following configuration in fckconfig.js:
FCKConfig.SpellChecker = 'SpellerPages' ;

Install aspell and dictionary:

aptitude install aspell
aptitude install aspell-en (for english)

go to to the editor/dialog/fck_spellerpages/spellerpages/server-scripts directory, locate the spellchecker.php and set the $aspell_prog in there to '/usr/bin/aspell'

Comments

wwalc’s picture

That would be great if other people could share their knowledge with others.
I have set up a "Tips & Tricks" forum at drupal.fckeditor.net, maybe you could put this there?
Or maybe you have a better idea where to place such things?

Jorrit’s picture

Status: Active » Closed (fixed)
mattconnolly’s picture

Thank you! Thank you!!!

Note: I also had to change a path in 'spellChecker.js' to:

this.spellCheckScript = 'fck_spellerpages/spellerpages/server-scripts/spellchecker.php';

Probably a lot of people might need this too.

dirtabulous’s picture

Yes, thanks for the info!

In addition, if you're using a different toolbar such as DrupalFull, you'll need to add 'SpellCheck' to the list of options for your ToolBarSets in the fckeditor.config.js file.

What about adding this info to the readme file? It seems that quite a few will probably want to configure this option.

bbodenmiller’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

Seems this was never really documented anywhere.

I did basicly the same thing. If you have Dreamhost.com webhosting they have aspell installed and $aspell_prog should be set to 'aspell'. More info can also be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/S....

If you do not have aspell installed some instructions at http://wiki.dreamhost.com/Aspell may help.

wwalc’s picture

Let me know if you have any comments: http://drupal.fckeditor.net/tricks#2
English is not my mother tongue, so please tell me if you find any errors.
I'll add this instruction to README as soon as you confirm that it is clean enough.

bbodenmiller’s picture

Status: Postponed (maintainer needs more info) » Patch (to be ported)

Have them modify fckconfig.js since it already contains instructions on what spell checker to use. Also "you may need to clear browser's cache to see changes" should also include server cache. Put the firefox hint at the top of the spell check area as it is way easier than setting this up. Should include information on different between speller mages and iespell. Also you might want to advertise serverside spell check as a feature of this plugin as most people are looking for this but cannot find it. Be sure to link directly to the tips page from where you advertise this.

mgifford’s picture

Just to spell this out in a bit more detail:

In Fedora I'm installing both English & French dictionaries with:
$ sudo yum install aspell aspell-en aspell-fr

In Debian I'm using:
$ sudo apt-get install aspell aspell-en aspell-fr

This is of course using the command line on a Linux machine with sudo'ing in with root access.

hobo’s picture

Currently The FCKeditor shows up with a spell check button that is grayed out.

I looked at the page using a mac with firefox and the spell check worked.
The same result was found when using a linux box with firefox..

I am only getting the spell check button grayed out when using windows-firefox

Anyone have any Idea why it would not work under windows?

==============================================
Additional setup info:

I'm working with this version of fck editor: fckeditor-6.x-1.3-rc5.tar.gz
I have aspell installed (I've tested it using command line)
I changed FCKConfig.SpellChecker = 'SpellerPages' ;
I added the spellCheck button
Finally I modified spellchecker.php so that $aspell_prog is '/usr/bin/aspell'
(The server is on linux)

However when i tried to make the changes outlined in post #3
(Note: I also had to change a path in 'spellChecker.js' to:
this.spellCheckScript = 'fck_spellerpages/spellerpages/server-scripts/spellchecker.php';)

I noticed that this.spellCheckScript is commented out instead this.popUpUrl is used. I tried to set that to point to the spellchecker.php with no sucess..

Jorrit’s picture

Status: Patch (to be ported) » Closed (fixed)

Closed because of inactivity.