| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
| Member Posts: 138 Join Date: Apr 2006 | Integrating JSpell with Staff CP & WinApp! -
14-03-2007, 09:02 PM
Although the free spell checker built into the Kayako product will get the job done, we wanted to use a commercial solution which provides for the ability to Add Words to the Dictionary, Fix Capitalization errors, Ignore email and domain names and provide better suggestions overall. Here are the modifications necessary to replace the built-in spellchecker with JSpell http://www.jspell.com Inside themes/admin_default/main.js replace openSpellChecker function with this: var spellCheckArray=new Array(); function openSpellChecker() { spellCheckArray[0]='document.forms["'+getActiveFormName()+'"].replycontents'; jspellcheck(); } function getSpellCheckArray(){ return spellCheckArray; }; Inside themes/admin_default/cpheader.tpl Insert this JavaScript tag before main.js is loaded: <script type="text/javascript" src="/jspellhtml2k4/jspell.js"> That's it... you'll have a much better spell checker! |
| | |
![]() |
| Tags |
| integrating, jspell, staff, winapp |
| Thread Tools | Search this Thread |
| Display Modes | |
| |