Loading...
Skip to main content
Navigation and related functionality and content
Features
Requirements
Download
Install
Backup
Upgrade
Help
FAQs
Need Assistance ? Join-us live this Thursday, click for info !
Related content
Find
History: PluginProposal
View published page
Source of version: 36
(current)
See also ((PluginConvene)), ((Rating)) and ((Deliberation)). ! Plugin Proposal ''Introduced in ((Tiki3))'' Use this ((wiki plugin)) to provide a widget for users to vote on a proposal and view the current decision. * 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). !!Parameters {pluginmanager plugin="proposal"} * 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. * New in ((TIki10)): Added the ability to set custom weights to groups in the proposal plugin, which affects the stored attributes. This is useful for ((dev:Code Review)) !! Examples !!!Basic syntax {CODE(colors="tiki")} {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~1 will0913{PROPOSAL} {CODE} !!! Free birthday pizza 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: {CODE(colors="tiki")} {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} {CODE} ''Would produce:'' {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} {REMARKSBOX(type=>comment, title=>Comment)} 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.{REMARKSBOX} Since ((Tiki10)): Added the ability to set custom weights to groups in the proposal plugin, which affects the stored attributes. This is useful for ((dev:Code Review)) !! Related Pages * Tutorial: ((E-Democracy System)) * [http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/trunk/lib/wiki-plugins/wikiplugin_proposal.php|Source code] !!Aliases (alias(Plugin Proposal)) | (alias(Proposal))
Related content