Question
The instructions on how to install
SpellerPagesPlugin seems incomplete.
http://twiki.org/cgi-bin/view/Plugins/SpellerPagesPlugin
says to :
- Include necessary JavaScript in template. Add the following line to the script block so that it reads:
%TMPL:DEF{"script"}%
<!-- INCLUDEJSSPELLERPAGES -->
So, what needs to be included here?
In edit.pattern.tmpl (I am using the default pattern skin), I have added the lines below "templatejavascript":
%TMPL:DEF{"templatejavascript"}%<script type="text/javascript" src="%PUBURLPATH%/%TWIKIWEB%/TWikiJavascripts/twiki_edit.js"></script>
%TMPL:END%
%TMPL:DEF{"script"}%
<!-- INCLUDEJSSPELLERPAGES -->
%TMPS:END%
yet when I click on the "Spell" button on the edit page nothing happens. Thus, I suspect I haven't done this right.
Environment
--
CraigAumann - 09 Apr 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
If you used %TMPS:END then you did something wrong; it should be %TMPL:END
--
CrawfordCurrie - 10 Apr 2006
Yes, I did fix that and still nothing.
--
CraigAumann - 10 Apr 2006
The httpd error logs showed:
[Mon Apr 10 20:01:47 2006] [error] [client 192.168.1.1] [Mon Apr 10 20:01:47 2006] viewfile: Can't create file /var/www/html/twiki/data/TWiki/spellerStyle/.xpcache - No such file or directory, referer:
http://www.craig-aumann.net/twiki/bin/viewfile/TWiki/SpellerPagesPlugin?rev=;filename=controls.html
[Mon Apr 10 20:01:49 2006] [error] [client 192.168.1.1] [Mon Apr 10 20:01:49 2006] viewfile: Can't create file /var/www/html/twiki/data/TWiki/controlWindow/.xpcache - No such file or directory, referer:
http://www.craig-aumann.net/twiki/bin/viewfile/TWiki/SpellerPagesPlugin?rev=;filename=controls.html
but after I added the directory "controlWindow" and "spellerStyle" directories, the plugin doens't work.
--
CraigAumann - 11 Apr 2006
I can only suggest that you add a question to the
SpellerPagesPluginDev page and if that fails, contact the plugin author directly. I doubt that anyone who visits these support pages regularly has any experience with this plugin. We will leave the report open for a few days and see if anyone responds, but I'm not hopeful
--
CrawfordCurrie - 11 Apr 2006
Thanks! Will do!
--
CraigAumann - 11 Apr 2006