%CHILDTOPICTEMPLATE{ "NameOfTopicTemplate" }% anywhere in your text.
%CHILDTOPICTEMPLATE{}% to remove the child topic template.
NewTestTopic1 -- this red-link uses the default template topic
%CHILDTOPICTEMPLATE{ "NewTopicTemplate" }% -- set custom template topic NewTopicTemplate
NewTestTopic2 -- this red-link uses template topic NewTopicTemplate
%CHILDTOPICTEMPLATE{}% -- disable custom template topic
NewTestTopic3 -- this red-link uses the default template topic again
%<plugin>_<setting>%, i.e. %CHILDTOPICTEMPLATEPLUGIN_SHORTDESCRIPTION%
data/debug.txt) ChildTopicTemplatePlugin.zip in your twiki installation directory. Content: | File: | Description: |
|---|---|
data/TWiki/ChildTopicTemplatePlugin.txt | Plugin topic |
lib/TWiki/Plugins/ChildTopicTemplatePlugin.pm | Plugin Perl module |
configure in your TWiki installation, and enable the plugin in the {Plugins} section.
%CHILDTOPICTEMPLATE{ "Plugins.ChildTopicTemplatePlugin" }% %CHILDTOPICTEMPLATE{ "Plugins.ChildTopicTemplatePlugin" }%
| Plugin Author: | TWiki:Main.DeanCording, TWiki:Main.ChristopherOezbek, TWiki:Main.PeterThoeny |
| Copyright: | © 2004 TWiki:Main.DeanCording, © 2004-2010 TWiki:TWiki.TWikiContributor |
| License: | GPL (GNU General Public License) |
| Plugin Version: | 19323 (2010-08-05) |
| Change History: | |
| 2010-08-05: | TWikibug:Item6530 - use postRenderingHandler callback instead of endRenderingHandler; fixed link parsing for red-links; more robust parsing of CHILDTOPICTEMPLATE with parameters; doc enhancements; changing TWIKIWEB to SYSTEMWEB -- TWiki:Main.PeterThoeny |
| 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 |
| Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/ChildTopicTemplatePluginAppraisal |
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| |
ChildTopicTemplatePlugin.md5 | manage | 0.2 K | 2010-08-06 - 07:03 | PeterThoeny | |
| |
ChildTopicTemplatePlugin.tgz | manage | 4.4 K | 2010-08-06 - 07:03 | PeterThoeny | |
| |
ChildTopicTemplatePlugin.zip | manage | 5.9 K | 2010-08-06 - 07:03 | PeterThoeny | |
| |
ChildTopicTemplatePlugin_installer | manage | 3.4 K | 2010-08-06 - 07:03 | PeterThoeny |