Fullscreen
Loading...
 
[Show/Hide Right Column]

Allow users to vote on a proposal and see the results

Plugin Proposal

This Wiki Plugin provides a widget for users to vote on a proposal and view the current decision (added in version 3.0).
  • It makes it quick to vote and tally votes
  • The proposal and votes are kept in the wiki page so it's still possible to improve the original proposal and to change the votes (there is wiki page version history so everyone can see the evolution).
  • Note that a user must have edit rights to the page where the proposal is placed in order to be able to see the vote buttons and be able to click on them to vote.



Usage

To display in a wiki page, use the syntax:
{PROPOSAL(caption="Here is the proposal")}
+1 Sam
-1 john
+1 Suzy
+1 Cuong
0 Sam
+1 Helen
+1 Majid
+1 Mohammed
0 Francois
+1 Youssou
+1 Nico

-1 clemente{PROPOSAL}

Close
noteNote
Do not use the plugin notation shortcut - {PROPOSAL(caption="xx") /}{PROPOSAL} - as it will not work.


Parameter Accepted values Default Effect Required? Since
caption any text string none This is the text of the proposal that displays above the vote box no


Example

As users vote by clicking the accept, reject or undecided button, the user's user name and vote is automatically placed in the code. Once several people have voted, the code would look something like this:
{PROPOSAL(caption="That each Tiki contributor should get free pizza on their birthday")}
+1 Sam
-1 john
+1 Suzy
+1 Cuong
0 Sam
+1 Helen
+1 Majid
+1 Mohammed
0 Francois
+1 Youssou
+1 Nico
{PROPOSAL}


Would produce:

That each Tiki contributor should get free pizza on their birthday
Accept Undecided Reject
7 2 1
  • Suzy
  • Cuong
  • Helen
  • Majid
  • Mohammed
  • Youssou
  • Nico
  • Sam
  • Francois
  • john


Close
commentComment
You can see in the code above that user Sam voted twice: the first time he accepted the proposal (+1 Sam), and then he changed his vote to undecided (0 Sam). In the display result immediately above, only the last choice (undecided) shows.



Aliases
Plugin Proposal | Proposal

Contributors to this page: lindon137 điểm  , clemente204 points  , stefbrodu89 points  , xavi67984 points  , sylvie7387 points  , Marc Laporte9146 points  and system .
Page last modified on Saturday 05 February, 2011 02:54:00 UTC by lindon137 điểm .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki