Author Topic: Spell Check  (Read 2400 times)

nimeshpancholi

  • Newbie
  • *
  • Posts: 5
    • View Profile
Spell Check
« on: December 23, 2008, 08:45:11 am »
Hi All,

Just downloaded and installed RC1. Just wondering how can I use aspell instead of default spell check that is iSpell.

Thanks,
Nimesh

nimeshpancholi

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Spell Check - Solved
« Reply #1 on: December 24, 2008, 06:24:27 am »
Hi,

If found the solution from fckeditor's website forums. Here is the solution if someone faces the same problem,

open following file,
<<your_web_root>>/opengoo/public/assets/javascript/fckeditor/fckconfig.js

Change this,
FCKConfig.SpellChecker                  = 'SpellerPages' ;      // 'ieSpell' | 'SpellerPages'

FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;        // Available extension: .php .cfm .pl

then,
open following file,
<<your_web_root>>/opengoo/public/assets/javascript/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php

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

And your are done,
Yes one more thing, do not forget to refresh your web browser.

Rgds,
Nimesh