This plugin will allow you to create variables in arbitrary topic pages, and not just WebPreferences. You can then refer to those variables from any topic within the same Web or Wiki, and pass in parameters to those vars to make them appear in URLPARAM. This allows you to build TWiki:Codev.TWikiApplications by bundling sets of directives on a page and then using them from elsewhere.
(Perhaps a future iteration will support Interwiki references, but that's probably not likely, unless we use XML-RPC or something to cut down the overhead of getting those values from afar.)
Parameterised:
(setting values is done just like in WebPreferences; with six preceding spaces, an asterisk, and so on).
data/debug.txt
)
TopicVarsPlugin.zip
in your twiki installation directory. Content:
File: | Description: |
---|---|
data/TWiki/TopicVarsPlugin.txt | Plugin topic |
lib/TWiki/Plugins/TopicVarsPlugin.pm | Plugin Perl module |
Plugin Author: | TrippLilley? |
Plugin Version: | 23 Jul 2003 |
Change History: | 15 Nov 2001: Initial version |
23 Jul 2003: Update to incorporate debug log undefined variable patch | |
11 Apr 2004: Update to allow parameters to define URLPARAM space | |
CPAN Dependencies: | none |
Other Dependencies: | none |
Perl Version: | 5.0 |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/TopicVarsPlugin |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/TopicVarsPluginDev |
Related Topics: InterwikiPlugin
-- TrippLilley? - 15 Nov 2001