The Poll block#
Block type |
|
Title |
Poll |
Allowed in |
Pages and other blocks-enabled content, and Grid blocks |
Settings#
Key |
Setting |
Default |
Description |
|---|---|---|---|
|
Which poll |
|
|
|
Chosen poll |
none |
The picked poll, when |
|
Show closed polls |
|
When |
|
Header |
empty |
A heading above the poll. |
|
Show total votes |
|
Show the number of votes so far, when the visitor may see the results. |
|
Add a link to the poll |
|
Link the question to the poll. |
Finding the latest poll#
With mode set to latest, the block searches the navigation root for polls, newest first by creation date.
It searches for an open poll, then for a closed one when show_closed is set and no poll is open.
When there is nothing to show#
Visitors see nothing. Editors see "There is no poll to show." while they edit the page.