Hi all. I've completly rewritten the old 4.5 spellcheck module. I'm ready to 'release' the module and wonder what I'm supposed to do now. I could create a patch, but there is almost nothing that remains from the old spellcheck module. This is also my first module for Drupal, so I'm hoping I've done everything correctly.

So what should I do now?

The module uses the GPL'ed Speller Pages from http://spellerpages.sourceforge.net and requires aspell on the server. You can try it out at http://test.willwyatt.com you can login as testuser/testuser and create a blog entry. There should be a 'Check Spelling' button below the body form element. The module only works with 4.7 and has only been tested against 4.7 CVS.

Comments

pulsifer’s picture

Nice job. I look forward to using it.

rport’s picture

Well done!

This is a a simple, clean interface, while it may not suit everyone (as is has dependencies) it works well on your test.

Thanks for your contribution.

Russ

JHeffner’s picture

This is just what I've been waiting for. Anyway to get a hold of this from you somehow? I'm jason.heffner@gmail.com

sepeck’s picture

If the existing project has been abandomed you could apply to take over the project. Ask on the dev list. You would need to then apply for a cvs account.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

tayknight’s picture

Code available here.

v1nce’s picture

I've got 4.7b4 installed and am receiving the following error when I'm adding a page and clicking on check spelling. I pulled this from my Javascript console in Firefox.

Nothing happens after I've clicked on the 'check spelling' button below the body text box.

Error: document.forms['node-form'] has no properties
Source File: .../node/add/page
Line: 11

Any ideas?

v1nce’s picture

Spell checker works fine in IE on 4.7b4. I guess I need to do something within Firefox???

v1nce’s picture

This is somewhat confusing to me. Spellchecker works fine if I'm logged in as a regular authenticated user in both IE and Firefox.

But when I log in as the main admin user I created when Drupal was initially installed the error occurs in both Firefox and IE.

Here is IE's error description:

Line: 11
Char: 11
Error: 'document.forms.node-form.elements' is null or not an object
Code: 0
URL: .../node/add/page

tayknight’s picture

I'll take a look and see if I can reproduce. Thanks for the help.

JHeffner’s picture

Nice Job. I had to secure the aspell application for my install, but it works great. Thanks!

I tested it with IE and it works fine as well. BTW do you have the drupal.diff file you referenced in your module for the comment module to enable comment spell checking as well?

tayknight’s picture

The code and comments about it have moved to http://www.willwyatt.com/node/116

redsymbol’s picture

Hi, thanks for this module, tayknight. I think it's an important contribution.

One of my sites is Drupal v. 4.6.5, and I'm not planning to upgrade to 4.7 anytime soon. You point out it only works with 4.7; I tried installing it anyway, and sure enough it does not seem to work. (I enabled "access comment spellchecking" in admin/access - is there anything else that would need to be done to turn it on, for editing pages and stories?)

Assuming I configured it right and it truly only works with 4.7, is there some way it could be altered to work with 4.6? I'll look at it and post a patch if I find it, but I would appreciate it if you could point me in the right direction.

Thanks again,
Aaron

Aaron Maxwell - http://redsymbol.net
From Working for The Man to Working For Yourself: http://imustbenuts.com
Skills For Higher Math: http://hilomath.com

tayknight’s picture

I'll see what I need to do to make this work with 4.6.6. It shouldn't be too hard.
I'll post back in this thread when I get something figured out.

redsymbol’s picture

Cool, thanks.
-Aaron

From Working for The Man to Working For Yourself: http://imustbenuts.com
Skills For Higher Math: http://hilomath.com