Percent Complete Plugin

Percent complete screenshot
Percent complete selector, for use in TWiki forms and TWiki applications

Introduction

This TWiki plugin package adds a percent complete selector to TWiki forms and TWiki applications.

Use percent selector in TWikiForms

This package adds a percent type to TWikiForms:

Type Description Size Value
percent Percent complete indicator and pick list. The percentage can be set by clicking on the percent complete indicator bar, or by picking a value from the pick list. N/A Initial (default) percentage value

Example form definition:

Name: Type: Size Values: Tooltip message:
Progress percent     Select percent complete

Use percent selector in an HTML form

You can also use the percent complete selector directly in your HTML forms, without having to write any code. Just include this in the topic text:

<form action="...">
%PERCENTCOMPLETE{ name="Progress" value="60" }%
<form>
This will show an HTML selector named "Progress" and a percent complete indicator bar tied to it. The value parameter is optional.

Test: (this only works if the PercentCompletePlugin is installed and enabled)

%PERCENTCOMPLETE{ name="Progress" value="60" }%

Installation Instructions

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

  • For an automated installation, run the configure script and follow "Find More Extensions" in the in the Extensions section.

  • Or, follow these manual installation steps:
    • Download the ZIP file from the extension home on twiki.org (see below).
    • Unzip PercentCompletePlugin.zip in your twiki installation directory.
    • Set the ownership of the extracted directories and files to the webserver user.
    • Install the dependencies (if any).

  • Plugin configuration and testing:
    • Run the configure script and enable the plugin in the Plugins section.
    • Configure additional plugin settings in the Extensions section if needed.
    • Test if the installation was successful using the examples provided.

Plugin Info

  • Set SHORTDESCRIPTION = Percent complete selector, for use in TWiki forms and TWiki applications

Author: TWiki:Main.PeterThoeny, TWiki.org
Copyright: © 2012 TWiki:Main.PeterThoeny;
© 2012 TWiki:TWiki.TWikiContributor
License: GPL (GNU General Public License)
Dependencies:
NameVersionDescription
TWiki::Plugins::JQueryPlugin>=1.0Required; pre-installed in TWiki-5; download from TWiki:Plugins/JQueryPlugin
Version: 2012-08-10
Change History:  
2012-08-10: TWikibug:Item6907: Initial version of PercentCompletePlugin
Home: http://TWiki.org/cgi-bin/view/Plugins/PercentCompletePlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/PercentCompletePluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/PercentCompletePluginAppraisal

Related Topics: TWikiPreferences, TWikiForms, TWikiPlugins







 
  • Suche in Topic-Namen

  • Suche in Topic-Inhalten
This site is powered by the TWiki collaboration platform Powered by Perl