r7 - 23 Aug 2005 - 00:09:01 - PeterThoenyYou are here: TWiki >  Plugins Web > FormPivotPlugin
Tags:
database 1 Add my vote for this tag, forms 1 Add my vote for this tag, , create new tag

Form Pivot Plugin

Basic analysis of values for a form used by the topics in a Web.

FormPivotPlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %_%, for example, Link =ExternalSite:Page text to external sites based on aliases defined in a rules topic=

  • Set DEBUG to 1 to get debug messages in data/debug.txt. Default: 0
    • Set DEBUG = 0

Syntax rules

%FORMPIVOT{form="..." [fields="..."] [type="grid|count"]}%

If fields not specified, all fields in the form are used.

If type is "count":

  • For each field, gives a break down of occurance of values in sortable tables.

If type is "grid":

  • There should be two fields, each square in the grid produced will be the count of those topics containing the two values e.g. Bug and High Priority

Known Issues

This is a fairly simple initial implementation and probably doesn't yet deserve the designiation of pivot.

Plugin Installation Instructions

  • Download the ZIP file from the Plugin web (see below)
  • Unzip FormPivotPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/FormPivotPlugin.txt Plugin topic
    data/TWiki/FormPivotPlugin.txt,v Plugin topic repository
    pub/TWiki/FormPivotPlugin/formpivot-example.zip Simple example of using the plugin
    pub/TWiki//FormPivotPlugin/formpivot-example.zip,v Repository/revisions of example
    lib/TWiki/Plugins/FormPivotPlugin.pm Plugin Perl module
  • Test if the plugin is correctly installed:
    • Extract test topics from attachment formpivot-example.zip
    • See Sandbox.TestFormPivot? for the two types of pivot (assuming you extracting to the Test Web).

Plugin Info

Plugin Author: TWiki:Main.JohnTalintyre
Plugin Version: 15Apr 2002
Change History: 15 Apr 2002: Initial version
CPAN Dependencies: none
Other Dependencies: latest alpha
Perl Version: 5.0
Plugin Home: TWiki:Plugins/FormPivotPlugin
Feedback: TWiki:Plugins/FormPivotPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main.JohnTalintyre - 15 Apr 2002

Topic attachments
I Attachment Action Size Date Who Comment
zipzip FormPivotPlugin.zip manage 17.0 K 16 Apr 2002 - 19:46 JohnTalintyre Plugin code and topics
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r7 < r6 < r5 < r4 < r3 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo