Demo of SpellerPages

Demo of the FredCK Editor

Getting SpellerPages to work in windows

First - Install Aspell

download and install aspell-0.5 from http://aspell.net/win32/

go to a command line (Start->Run->cmd.exe) and type:

C:\Documents and Settings\dholmes>echo "<b>Foo Baz</b>" | "C:\Program Files\Aspell\bin\aspell.exe" -H -a

You should get the following:

@(#) International Ispell Version 3.1.20 (but really Aspell 0.50.3)
*
& Baz 25 8: Baez, Bax, BA, Ba, AZ, Bas, Biz, Bar, Bay, Baa, Bah, Bab, Ban, Bat,
Caz, Paz, Bad, Bag, Baize, BS, BSA, Baxy, Blaze, Braze, Nazi

If you get "Error: No word lists can be found for the language 'en_US'" then make sure you have installed the English dictionary.

Setup spellerpages

Now, go download the latest package from http://spellerpages.sourceforge.net/
You will need to edit a parm in the demo php script that talks to the aspell.exe program you installed earlier.  As it is in "unix" format, you will want to use something other than notepad.  wordpad works great, but I'm pretty partial to gvim.exe

speller/server-scripts/spellchecker.php
$aspell_prod = $aspell_prog = '"c:\program files\aspell\bin\aspell.exe"';
NOTE: I found that you have to get that aspell line exactly as above because of the space in "program files".

Browse to http://yoursite/speller and the demo editor should do it's thing.

Changing the Script Location

If you put the speller stuff in a different location, you can get away with simply editing a couple of files:

speller/spellChecker.js
speller/server-scripts/spellchecker.php
speller/spellerStyle.css

Triming files away

You may want to remove the non-php files from the server-scripts directory.  Unless you are going to use a different language on your webserver, but why? :-)

You may also want to remove the speller/index.html from a "live site".  At a minimum, you will likely want to rename it.

Adding spellcheck support to your site


If taken the origional demo, and really simplified it.  You can find it here:
Demo of SpellerPages



The FredCK Editor

Installing it is very easy.  Just download it and unzip or untar.  It should work out of the box, and their wiki give all the great info on cleaning up your installation, etc.

To enable SpellerPages spell checking support, just edit the following

fckconfig.jc:
FCKConfig.SpellChecker            = 'SpellerPages';

fckeditor.js:
this.BasePath        = '/editing/fckeditor/' ;

If you aren't in windows, or your aspell is at a non-default path
editor\dialog\fck_spellerpages\spellerpages\server-scripts\spellchecker.php
edit the $aspell_prog string to locate your working aspell

NOTE: For whatever reason, I had to replace the "space" in program files.  I'm not sure what was there, but it didn't seem to work on my system until I did.

Demo of the FredCK Editor