Home | Gifts |
%EDITPREFERENCES%
variable (see below) anywhere in your topic. It will be replaced by a button that allows editing each preference in its predefined input format (or a text box, when no format is defined for this preference).
In edit mode, the edit button is replaced by save and cancel buttons, with their obvious meanings.
%EDITPREFERENCES{ "
topic " }%
%EDITPREFERENCES{ "%TWIKIWEB%.TWikiPreferencesForm" }%
%<plugin>_<setting>%
, i.e. %PREFERENCESPLUGIN_SHORTDESCRIPTION%
PreferencesPlugin.zip
in your twiki installation directory. Content: File: | Description: |
---|---|
data/TWiki/PreferencesPlugin.txt | Plugin topic |
data/TWiki/PreferencesPlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/PreferencesPlugin.pm | Plugin Perl module |
data/TWiki/TWikiPreferencesForm.txt | Example form |
configure
in your TWiki installation, and enable the plugin in the {Plugins} section.
Plugin Author: | TWiki:Main.ThomasWeigert![]() |
Plugin Version: | 08 May 2005 |
Change History: | |
26 May 2005: | Crawford Currie recoded to use code from Form.pm to render form fields. |
08 May 2005: | Add plugin preference to define default input length |
07 May 2005: | Initial version |
TWiki Dependency: | $TWiki::Plugins::VERSION 1.026 |
CPAN Dependencies: | none |
Other Dependencies: | none |
Perl Version: | 5.005 |
License: | GPL (GNU General Public License![]() |
TWiki:Plugins/Benchmark![]() |
GoodStyle nn%, FormattedSearch nn%, PreferencesPlugin nn% |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/PreferencesPlugin![]() |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/PreferencesPluginDev![]() |
Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/PreferencesPluginAppraisal![]() |
Revision r2 - 2005-05-08 - 04:45:29 - TWikiContributor | Edit |