Configure spellchecking

KTML offers spellchecking for the text you enter. But in order to use this feature you need to have your server configured:

  1. Download and install the version of aspell for your server's operating system. For installation instructions read below..

  2. Download and install the aspell dictionary for the language you need KTML to spellcheck.

  3. If using Microsoft Windows, you must allow the web server user to execute the aspell program. For this you must:
  4. If you are using ColdFusion, then you must make sure that the <cfexecute> tag is enabled, or the aspell module cannot be ran. Therefore, the spellchecking will fail. To learn how to check if the <cfexecute> tag is enabled, and how to enable it, check the ColdFusion documentation for your particular installation.
  5. On any operating system you must grant read and write access rights to the user that runs the web server to the includes/ktm/plugins/temp folder and its subfolders.
 

Installing the  ASPELL library on Windows based servers

To install ASPELL on a system running Microsoft Windows, follow the steps below:

  1. First download the ASPELL installer here.

  2. Execute the downloaded file.

  3. Follow the wizard's instructions: accept the licence, select the folder to install to and whether to create shortcuts or not.

  4. Click Install to commence copying the required files.

  5. By default the View manual check-mark is selected. When Finish is clicked, the manual page is displayed.

  6. ASPELL is now installed on your system.

 

Installing the ASPELL library on Unix based servers

To install the ASPELL library on a Unix based system, follow the instructions below:

  1. Download the ASPELL source package here.

  2. Unzip the downloaded package into a folder of choice.

  3. Browse to the folder containing the archive files. Run the configuration script by entering:

    ./configure
     

  4. Next you have to install the program. Type:

    make install

     

  5. If no errors were encountered, ASPELL is now installed.

 

For PHP users

On the PHP platform the PSPELL module is also supported. In order to use PSPELL, you must have ASPELL 0.50 or higher installed on your server. PSPELL has the advantage that it does not require direct access to run the ASPELL executable.

 

Installing the PSPELL module on UNIX based servers

To use PSPELL on a Unix based system, follow the instructions below:

  1. Install ASPELL 0.5 or higher as shown above.

  2. Re-compile PHP with the --with-pspell[=dir] option.

 

Installing the PSPELL module on Windows based servers

PSPELL can be used starting with PHP version 4.3.3. To use it on your server, follow the instructions below:

  1. Install ASPELL 0.50 or higher as explained above.

  2. Copy the aspell-15.dll file from the bin folder of your ASPELL installation into a folder in the system path, where it can be accessed by PHP.

  3. Open the php.ini file with a text editor.

  4. Locate the block where extensions are defined. Uncomment or add the line saying: extension=php_pspell.dll.

  5. Save the php.ini configuration file and restart the web server.

Other resources