In Tiki you can create/display and use as many polls as you want, to admin polls use the polls link from the admin section in the application menu.
Creating/editing polls
In this screen you can edit/create new polls and remove existing polls, to create a poll you have to indicate the title the type of polls and the publishDate, the type can be:
- Active: The poll can be voted The form to vote can be displayed in a user module using {poll id=n}
- Current: The poll can be voted and can be selected to be shown in a module using {poll} without indicating an id. It can also be displayed using {poll id=n}
- Closed: The poll is closed it won t be displayed and the users can t vote this poll any more. Results can be seen.
The publishDate is used to control when the poll will be enabled, you can program polls for the future if you want. A poll can t be viewed/voted/anything until the current date is greater on equal than then poll publishingDate.
Some special links are also provided:
- Close all polls but last will close all polls except the last one.
- Set last poll as current will set the last poll as the current poll
- Activate all polls will make all polls active
If you click activate all polls and set last poll as current you will have all polls active and the last one being the current poll. If you click close all polls but last and set last poll as current you will have all polls closed and the last one being the current one (only the current poll can be voted in this scheme)
To edit the options in a poll clikc in the options link from the poll listing:
insert graphic
In this screen you will see a preview of the poll, a form to edit/add an option to a poll and the list of options, you can edit options, remove options and add options to a poll as you want.
Using polls
Once created the form to vote a poll can be displayed using user modules, the syntax to include a poll can be:
{poll}
This will display a random poll from the list of polls with type = current and that have been published.
{poll id=n}
This can be used to dsiplay any active or current poll indicating the id of the poll to displayed.
test