Changes between Version 7 and Version 8 of PollMacro


Ignore:
Timestamp:
Apr 20, 2006, 11:24:09 AM (18 years ago)
Author:
Alec Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PollMacro

    v7 v8  
    1 = Add polls to wiki pages =
     1= Create polls based on tickets, or static arguments =
    22
    33== Description ==
    44
    5 The PollMacro lets poll questions be added to Trac pages.
     5The PollMacro plugin adds polling to Trac.
    66
    7 The usage is very basic, arguments are separated by semi-colons, with the first argument being the question and the remainding arguments the choices:
     7Usage:
    88
    9 {{{
    10 [[Poll(What do you think of the Poll macro?; Cool; Crap)]]
    11 }}}
     9[[MacroList(PollMacro)]]
    1210
    13 The macro stores the results of the poll, in a pickled form, in {{{/var/state/trac/polls}}} (this is set in the {{{polldir}}} variable at the top of the macro source). The 32-bit CRC of the poll name is used as the filename, and is stored under a directory with a name that is the 32-bit CRC of the project name.
     11The poll data is stored in `/tmp` by default, but this can be overridden with the `base_dir` option in the `[poll]` section of TracIni.
    1412
    1513Each voters name is displayed to the right of their choice.