[[PageOutline(2-5,Contents,pullout)]] = Create polls based on tickets or static arguments == Description This plugin is a macro that adds polling functionality to Trac. The usage of this macro can be displayed with: `[[MacroList(PollMacro)]]`. As an example, the following can be added to a Trac wiki page: {{{ [[Poll(What do you think of the Poll macro?; Cool; Crap)]] }}} and gives: [[Poll(What do you think of the Poll macro?; Cool; Crap)]] The poll data is stored in `/tmp` by default, but this can be overridden with the `base_dir` option in the `[poll]` section of TracIni. Relative paths are resolved relative to the environment `conf` directory. {{{#!ini [poll] base_dir = /opt/trac/polltest/db/ }}} Each voters name is displayed to the right of their choice. The following permissions are added with this plugin: * The `POLL_VOTE` permission allows users to vote. * The `POLL_VIEW` permissions allows users to view the poll's result. See also: EasyPollMacro == Bugs/Feature Requests Existing bugs and feature requests for PollMacro are [report:9?COMPONENT=PollMacro here]. If you have any issues, create a [/newticket?component=PollMacro new ticket]. [[TicketQuery(component=PollMacro&group=type,format=progress)]] == Download Download the zipped source from [export:pollmacro here]. == Source You can check out the source for PollMacro from [/svn/pollmacro Subversion] or [source:pollmacro browse the source] with Trac. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. == Recent Changes [[ChangeLog(/pollmacro, 3)]] == Author/Contributors '''Author:''' [wiki:athomas athomas] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:'''