2

I want to make a block that shows a poll that shows the results and with a link to vote to that particular poll. It seems that the default most recent poll shows the results if the user doesn't have the right to vote and the voting options if it has the rights...

How can I control this?

2

From memory you can configue poll blocks using the Views module. At any rate, using Views you will be able to create a new block that displays votes. You can then add a footer to the block with a link to the poll node so users can vote.

There's plenty of documentation about using Views:

http://drupal.org/project/views

  • I can´t find a field in views that refers to polls. I did tried looking it up before though – PartySoft Jan 13 '12 at 15:44
  • Create a new view, add a filter (node:type=poll), add a field (node:teaser). Under Basic Settings, change row style to Node and change the settings for row style (Build mode: full node, tick 'display links'). – rohan Feb 7 '12 at 22:08

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.