%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" editbutton="..." }%
topic
references a TWikiForm defining the format of the edit fields for preferences. It may be prefixed by a web.
editbutton
parameter: Custom edit button label. Default: Edit Preferences.
%EDITPREFERENCES%
%EDITPREFERENCES%
%EDITPREFERENCES{ "%SYSTEMWEB%.TWikiPreferencesForm" }%
%EDITPREFERENCES{ "%SYSTEMWEB%.TWikiPreferencesForm" editbutton="Edit Group Settings" }%
configure
interface (Go to Plugins->Find More Extensions) .zip
or .tgz
archives
perl <module>_installer
)
configure
and enable the module, if it is a plugin.
,v
files in your existing install (take care not to lock the files when you check in)
Plugin Author: | TWiki:Main.ThomasWeigert |
Copyright: | © 2005 TWiki:Main.ThomasWeigert, © 2005-2011 TWiki:TWiki.TWikiContributor |
License: | GPL (GNU General Public License) |
Plugin Version: | 22124 (2012-01-14) |
Change History: | |
2011-08-20: | TWikibug:Item6711: Fix topic meta timestamp (needed for proper build) -- TWiki:Main.PeterThoeny |
2011-07-27: | TWikibug:Item6777: Scroll to preferences section on edit; adding EDITMETHOD; changing LINKTOOLTIPINFO to select -- TWiki:Main.PeterThoeny |
2011-07-08: | TWikibug:Item6725: Change global package variables from "use vars" to "our" -- TWiki:Main.PeterThoeny |
2011-06-10: | TWikibug:Item6748: New editbutton parameter -- TWiki:Main.PeterThoeny |
2011-02-09: | TWikibug:Item6593: Larger size for URL fields -- TWiki:Main.PeterThoeny |
2011-02-01: | TWikibug:Item6615: Adding type 'color' to WEBBGCOLOR because TWiki:Plugins.ColorPickerPlugin is part of the core distribution since TWiki-5.1 -- TWiki:Main.PeterThoeny |
2010-05-15: | TWikibug:Item6433: Doc improvements; replacing TWIKIWEB with SYSTEMWEB -- TWiki:Main.PeterThoeny |
17 Apr 2009: | Save of preferences can only be done with http POST method, not GET -- TWiki:Main.PeterThoeny |
05 Nov 2007: | Kenneth Lavrsen fixed problem when settings are hidden in html comments. These settings are now ignored. |
23 Jun 2007: | Crawford Currie added testcases, recoded to work without a form definition, fixed for TWiki 4.2 |
08 Feb 2007: | Arthur Clemens added access keys for Save and Cancel, bold style for editable preference names, and a descriptive Save button label. |
15 Apr 2006: | Adding css classes to buttons. Removed debug print statement causing 500s on SunOne. Prevent extra space in settings on saves. Switched to earlier handler. Converted all SCRIPTURL to SCRIPTURLPATH, and added support. The only SCRIPTURLs should be the one in the BASE tag and those in mail notification templates. Because the forms package was throwing an exception when it failed to create a form, the edit preferences plugin was aborting the whole of the session whenever the form specified in EDITPREFERENCES didn't exist. Changed it so that the Form constructor does not throw, but returns undef on a non-existant form, and changed preferences plugin to be tolerant of missing forms (ie defaults all fields to text if the form is missing, of is a Set exists which is not in the form). |
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 |
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 |