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?

1 Answer 1

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

2
  • I can´t find a field in views that refers to polls. I did tried looking it up before though
    – PartySoft
    Commented Jan 13, 2012 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
    Commented Feb 7, 2012 at 22:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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