PDA

View Full Version : Aspell/SpellerPages?



autodidactic
04-30-2009, 10:14 PM
Hi everybody. I have a couple of Drupal installs and would really like to have a spellcheck feature added to fckeditor. Do HostMonster servers have Aspell installed? If not is there any way for an account holder to install it?

pghcollectibles
04-30-2009, 11:11 PM
i doubt it but there are always (almost always) other alternatives.
this (http://www.google.com/search?hl=en&rlz=1G1GGLQ_ENUS269&q=php+spell+check+script&btnG=Search) is the route i would take

autodidactic
05-01-2009, 12:35 AM
I looked around some more and I found that it is indeed installed! If anybody is reading this, go and look for spellchecker.php located at fckeditor>editor>dialog>fck_spellerpages>spellerpages>server-scripts.

The active code is:


$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"'; // by FredCK (for Windows)

This is the configuration for windows. The line needs to be commented out (use //). Next I uncommented the line below that looks like this:


$aspell_prog = 'aspell'; // by FredCK (for Linux)

Lastly I added this line to the fckconfig.js file.

FCKConfig.SpellChecker = 'SpellerPages' ;

Now spellchecker is in full effect!