Integrating phpSpell

Started by fshagan, January 01, 2007, 05:36:31 PM

Previous topic - Next topic

SirSacrifyx

Hate to necro such an old thread, but I thought people might be interested to know I was able to get it working perfectly on 2.0 RC3.  Disregard the instructions that state where to drop the 2 lines of code in the simple_machines_install.txt, and instead put it in the post.template.php like this (mine starts around line 510, yours probably will too depending on mods):

// Finally, the submit buttons.
   echo '
               <p class="smalltext" id="shortcuts">
                  ', $context['browser']['is_firefox'] ? $txt['shortcuts_firefox'] : $txt['shortcuts'], '
               </p>

               <p id="post_confirm_buttons" class="righttext">
            <script language="Javascript" src="spelling/spellmessage.js"></script>
            <input type="button" class="" value="Spell Check" onclick="openspell();">

Advertisement: