Tags:
create new tag
view all tags

Question

Hi,

I have installed the Plugins.TocPlugin but it does not work outside of the Plugins web. That is if I go to the Plugins.TocPlugin or the Plugins.TocPluginHelp page, then it all displays correctly. But if I try and create a table of contents in the SandBox web then it does not work.

I have created the WebOrder page and populated it with a list of topics and placed the %TOCCHECK% variable at the end of it, but when i create a topic with %CONTENTS% in it, all I see is the string %CONTENTS%.

Now I know that many other people have successfully installed this plugin from the Dev comments so I assume I have done something really dull but cannot work out what it is!

Also of note is the fact that when I view the list of installed plugins at the TWiki.WebHome page or the InstalledPlugins, the TocPlugin does not get displayed. But if I view the currently activated plugins in the TWikiPreferences page then it is there! Is this linked in anyway to the behaviour I am seeing?

I have run the latest testenv as well, I have two warnings:

$templateDir: /export/home/twiki/templates Note: This is the TWiki template directory, as seen from the file system. Warning: Security issue: This directory should not be writable by the nobody user.

$rcsDir: /usr/bin Note: This is the directory where RCS is located. Warning: RCS program /usr/bin/ci not found. Check $rcsDir setting in TWiki.cfg. TWiki will not work (unless you are using TWiki's built-in RCS implementation, RcsLite).

but I don't suspect these to cause any problems.

Any help on this would be greatly appreciated. Thanx in advance.

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, BeautifierPlugin, BugzillaLinkPlugin, InterwikiPlugin, JavaDocPlugin, RedirectPlugin, SmiliesPlugin, TWikiDrawPlugin, TablePlugin, TocPlugin
Server OS: SunOS deveng1 5.8 Generic_108528-09 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
Web server: apache 1.3.14
Perl version: 5.005_03
Client OS: Windows 2000
Web Browser: IE 6

-- TWikiGuest - 14 Nov 2003 (alias Gethin)

Answer

I have now worked out what I was doing wrong. It seems that in order for the %CONTENTS% variable to work, the Topic that contains it must be in the WebOrder topic. This is not mentioned the documentation accompanying the plugin and I would suggest that it is added for clarification.

I still do not understand why it does not appear in the InstalledPlugins topic so any help with that is still appreciated.

Thanx anyway

-- TWikiGuest - 18 Nov 2003 (alias Gethin)

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2004-02-01 - PeterThoeny
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.