r10 - 22 Jun 2007 - 21:56:34 - LarsEikYou are here: TWiki >  Plugins Web > ChildTopicTemplatePlugin
Tags:
information_design 1 Add my vote for this tag, template_system 1 Add my vote for this tag, workflow 1 Add my vote for this tag, , create new tag

ChildTopicTemplatePlugin

This plugin allows you to specify in a topic what template should be used when a child topic is created via Twiki's '?' link. A number of different templates can be specified thoughout a topic to allow different child topics to be created in different sections of the parent.

Syntax Rules

  • Write the command %CHILDTOPICTEMPLATE { "NameOfTopicTemplate" }% anywhere in your text.
  • All subsequent unlinked WikiWords will be created using the specified topic template.
  • Use %CHILDTOPICTEMPLATE {}% to remove the child topic template.
  • A topic can contain any number of CHILDTOPICTEMPLATE commands.

Examples

  • %CHILDTOPICTEMPLATE { "NewTopicTemplate" }%

Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Allows templates to be specified for automatic child topic creation.

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip ChildTopicTemplatePlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/ChildTopicTemplatePlugin.txt Plugin topic
    lib/TWiki/Plugins/ChildTopicTemplatePlugin.pm Plugin Perl module
  • Test if the installation was successful:
    • enter samples here

Plugin Info

Plugin Author: TWiki:Main/DeanCording, TWiki:Main/ChristopherOezbek
Plugin Version: 10 Jun 2004 (V1.01)
Change History:  
28 Jun 2004: Added more robust handling of parameters -- TWiki:Main/ChristopherOezbek
10 Jun 2004: Fixed problem causing some pages (like Attach New File) to not render correctly
01 Jun 2004: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
TWiki:Plugins/Benchmark: GoodStyle 100%, FormattedSearch 100%, ChildTopicTemplatePlugin 99%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/ChildTopicTemplatePlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/ChildTopicTemplatePluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main/DeanCording - 01 Jun 2004

Hi, We've had troubles installing this plugin on TWiki 4.1.2 and trying to make it work.
After a couple of investigation with our System Admin we couldn't find anything. Is there a reason why it would not work with recent updates of TWiki (we have started using TWiki a couple of month ago with version 4.1.2).
We really hope some help as this is a very important feature for us (or does anyone has another plugin to suggest that does the same job ?
Thanks, Matthieu.

-- MatthieuBeimert - 22 Jun 2007

TopicCreatePlugin I think maybe can give you what you need. Also it is best to use the Support web, IRC or the ChildTopicTemplatePluginDev.

-- LarsEik - 22 Jun 2007

 
Topic attachments
I Attachment Action Size Date Who Comment
zipzip ChildTopicTemplatePlugin.zip manage 4.4 K 18 Jul 2005 - 04:42 DeanCording Child Topic Template Plugin - Fixed Cairo-Bug and added more robust handling for Web.Topic parameters. Updated documentation.
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r10 < r9 < r8 < r7 < r6 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo