I have been trying to integrate a java spell check into pmwiki, as I cannot access pspell/aspell on my hosted server.&nbsp; <br><br>My thought was only to mod PM's spellcheck.php to call the other js (it works on js in the browser as well.&nbsp; The spell checker I am trying to integrate is VERY easy to integrate (but I am no coder).&nbsp; It is <font size="-1"><span class="a">sourceforge.net/projects/jspspellcheck, based on jazzy - and using word lists fo dicts (ie can make any language!).<br>&nbsp; <br>I was dropping the whole thing into the pub directory, then trying to rewrite the spellcheck.php in the cookbook to point to it.&nbsp; There are a few syntax problems converting the js to php compatible js, and it tries to find the form name, but ther is no form name in pmwiki edit, just for the text area. bellow is the file I have been trying to work on.&nbsp; the two lines with !!! are the ones I believe causing probs.&nbsp; someone with a little time could perhaps
 download jspspellcheck and give me&nbsp; some help??&nbsp; I think it is very easy for someone with background (I am a theologian).<br><br>Yes, the script works fine from the directory outside of pmwiki.<br><br>My whole wiki will be for spell cheking, so this is crucial to say the least.&nbsp; <br>THANKS IN ADVANCE, MERCI BIEN, MUCHAS GRACIAS.<br><br>CODE (pms orig is commented out at the top):<br>&lt;?php if (!defined('PmWiki')) exit(); <br>/*&nbsp; <br>&nbsp;&nbsp;&nbsp; This script adds a spell checking functionality to PmWiki<br>&nbsp;&nbsp;&nbsp; based on Speller Pages (http://spellerpages.sourceforge.net)<br>&nbsp;&nbsp;&nbsp; and GNU Aspell.<br><br>&nbsp;&nbsp;&nbsp; The script was originally prototyped by Ciaran Jessup, and then<br>&nbsp;&nbsp;&nbsp; modified by Patrick Michaud (pmichaud@pobox.com) for cleaner<br>&nbsp;&nbsp;&nbsp; installation with PmWiki.&nbsp; <br><br>&nbsp;&nbsp;&nbsp; To use this script, you will need a working copy of GNU
 aspell<br>&nbsp;&nbsp;&nbsp; on your server.&nbsp; Then, add the following line to your local<br>&nbsp;&nbsp;&nbsp; configuration:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; include_once('cookbook/spellchecker.php');<br><br>&nbsp;&nbsp;&nbsp; This will add a "spell check" button to the GUI button bar, and<br>&nbsp;&nbsp;&nbsp; link in the necessary spell checking scripts.<br>#&lt;script src='$PubDirUrl/speller/spellChecker.js'&gt;&lt;/script&gt;<br>#&lt;script type='text/javascript' &gt;<br>#function openSpellChecker() {<br>#&nbsp;&nbsp;&nbsp; var textarea1 = document.getElementById('text');<br>#&nbsp;&nbsp;&nbsp; var speller = new spellChecker( textarea1 );<br>#&nbsp;&nbsp;&nbsp; speller.popUpUrl = '$PubDirUrl/speller/spellchecker.html';<br>##&nbsp;&nbsp;&nbsp; speller.openChecker();<br>#}<br>#&lt;/script&gt;<br>*/<br><br># If we're not editing, then just exit.<br>if ($action != 'edit') return;<br># Configure in the Speller Pages javascript
 code.<br>$HTMLHeaderFmt[] = "<br>&lt;script src='$PubDirUrl/jspspellcheck/jspspellcheck/spellcheck-caller.js'&gt;&lt;/script&gt;<br>&lt;script type='text/javascript' &gt;<br>function spellCheck(){<br>&nbsp;&nbsp;&nbsp; var elements = new Array(0);<br>&nbsp;&nbsp;&nbsp; !!!&nbsp;&nbsp;&nbsp; elements = document.getElementById('text');<br>&nbsp;&nbsp;&nbsp; !!!&nbsp;&nbsp;&nbsp; startSpellCheck('$PubDirUrl/jspspellcheck/', elements );<br>}<br>&lt;/script&gt;<br>";<br># Add a GUI button for spell checking.<br>$GUIButtons['spellcheck'] = array(1000, '', '', '',<br>&nbsp; "&lt;a href='javascript:spellcheck()'&gt;&lt;img src='\$GUIButtonDirUrlFmt/spellcheck.gif' title='$[Spell check]' style='border:0px' /&gt;&lt;/a&gt;");<br><br>?&gt;<br><br></span></font><p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com