Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedora Core 4, kernel-2.6.15-1.1833_FC4
Web server: httpd-2.0.54-10.3
Perl version: perl-5.8.6-22
Client OS: Fedora Core 4
Web Browser: Firefox 1.0.7
Categories: Plugins

-- CraigAumann - 09 Apr 2006

Answer

ALERT! 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 frown

-- CrawfordCurrie - 11 Apr 2006

Thanks! Will do!

-- CraigAumann - 11 Apr 2006

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2006-04-11 - WillNorris
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.