By steven1350 on
I am interested in placing my active polls inside a block to be viewable by all on the frontpage of my drupal website (I've already taken car of visibility settings)
However I cannot find a simple way to get all my active polls in a block, or multiple blocks if need be. There is a preset block of the "Most recent poll", but I have been requested to have more then 1 visible if there is more then 1 active poll.
Is there a nice and simple way to do this? Please do a little more then post a module link, at least try to say why it is useful
Comments
I've never done polls. Do
I've never done polls. Do they have their own content type?
Are you familiar with views? Views allows you to query and display nodes. You could fetch all polls that are active and display them in a block.
Polls do have their own
Polls do have their own content type, however what you have suggested here looks like it has potiential. I will try it out
EDIT: Unfortunatly this didnt work as expected, as a "poll" is not stored in the DB like a normal node. The best I could do was like to each of my active polls, but I was hoping for the whole node to be present so users could vote without having to visit a seperate page