Views: 4963 (Data available since 06.02.2017)
Last Modified: 10.10.2012
Creating a poll
Let us create a "What kind of books do you prefer?" poll. We'll make it a member of the Poll in Bookstore poll channel.
First, create the Poll in Bookstore poll channel with the BOOKS_VOTE symbolic identifier (Services -> Polls and Surveys -> Poll channels, click Create).
Configure user access permissions to polls of this group (the Access tab).
Now, create the Poll in Bookstore poll.
The next step is to create a list of questions to this poll.
The Poll in Bookstore poll will contain only one question with a choice of answers.
Create possible variants of answers:
Note!
The Radio field type allows to select only a single choice from the list.
Publishing the poll
The Polls and Surveys module visual components are used to publish a poll. Add the created poll to the include area of site page using the Current poll composite component. Do the following.
Open the page in the HTML visual editor.
Place the visual component Current poll.
This component is used to display form or results for current poll.
In the component settings, specify the group whose poll will be displayed on the page. In our case, it is the Poll in Bookstore poll group.
After the page is saved, the poll will be displayed in the public section.
Information about poll respondents will be available in the Control Panel (Services-> Polls and Surveys-> Visitors).
Information about voting results is available on the Visitor votings page (Services-> Polls and Surveys-> Visitor votings).