Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
chelsel Offline
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!
   
Reply With Quote
Reply

Tags
integrating, jspell, staff, winapp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Help desk software by Kayako.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48