Aller au contenu

Outils du site

Vous n'êtes pas identifié(e).


sondage

Ceci est une ancienne révision du document !


Sondages Randonner-Léger

Page en cours

1- Syntax

1- Syntax

<doodle
  title="What do you like best?"
  auth="none|ip|user"
  adminUsers="user1|user2"
  adminGroups="group1|group2"
  voteType="single|multi"
  closed="true|false" 
>
   * Option 1 
   * Option 2 **some wikimarkup** \\ is __allowed__!
   * Option 3
</doodle>
  • The title is also used as “key” for the plugin's data file under /data/meta
  • adminUsers and members of the adminGroups can always edit any entry
  • voteType=“single” shows round checkboxes where only one can be chosen
  • voteType=“multi” lets users check any number of square boxes
  • If closed=“true” is set, then users cannot vote anymore. The result of the vote will still be shown.

Only the title and at least one option are required. Do not change the options and their order, after the first vote has been casted! You may move the whole doodle to another page, whenever you want.

<hidden onHidden=“=== 2- Authentification ===” onVisible=“==== 1- Authentification ==== ”>

By default anyone can vote, even multiple times under different name. In this mode users cannot change their vote, once they submitted it.

You can prevent multiple votes, by setting auth=“IP”. Then users will be authenticated by their IP address1).

If you set auth=“user” then only registered and logged in users are allowed to vote. This has the advantage, that users later on can edit their vote, i.e. change their mind. In this mode, the users fullname and login name are automatically set for the vote.2)

sondage.1454057414.txt.gz · Dernière modification: 2016/01/29 09:50 par Opitux