Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [polls]

Use it for questions about one of the modules used to create simple polls.

-2
votes
2answers
21 views

How do I programmatically get a poll entity and render it? [on hold]

I would like to programmatically render a poll created with the Poll module, and place it in custom place of my template. Do you have any idea?
0
votes
0answers
25 views

How can I display time remaining for a poll to end?

I tried changing the poll module's code. But I miserably failed. This is what I investigated: - Poll module has a .php which prints variables in the poll block, but these variables are pre-defined. I ...
-1
votes
1answer
45 views

rating of multiple items

I need to create a rating entry on a profile that needs to have 5 items that the user can rate in order from 1 to 5 (most to least important). Does anyone know of a module that can do this or can ...
-1
votes
1answer
114 views

How to edit vote button in poll module in drupal 7

I am using poll module in my site. Everything is working fine. But the submit button(label) is "vote", I want to change it to "Submit". How can i change this? And this is a block.
1
vote
1answer
85 views

Why Anonymous User can't vote more than once from different browsers / machines on Poll?

I created a Poll in my Drupal 8 website which happened without any issue. I have enabled anonymous voting too. But when I open this node in different browsers / machines, the poll results appear and ...
0
votes
1answer
69 views

How to display Poll results on most recent poll block

I'm using most recent poll block to display polling in fronend. After i closed the poll, result is not showing. So how can i display the pol result in most recent block. Please any one help me out to ...
0
votes
1answer
44 views

How can I add points for selected answers to questions implemented using Polls?

The users of my page have to answer a test, which I'm making with the Polls module. I have a custom currency called "points". The users points have to grow when they answer the test correctly, in ...
1
vote
0answers
368 views

How to create Poll Question programmatically with multiple answer choices in Drupal 8 [closed]

The code below does not create the choices directly. $poll = Poll::create(array( 'id' => 'poll', 'uid' => '1', 'question' => 'What is your favorite color?', 'choice' => ...
6
votes
2answers
8k views

How to set value for multivalue field in drupal 8 programmatically

I was saving poll choices Programmatically in Drupal 8. I have used Drupal8 Poll choices module. $node_poll = Poll::load($pollid); //print_r($node_poll);exit; $i = array(13,14,15); foreach($i as $key ...
1
vote
0answers
45 views

what is the advance poll tpl file name and where should it locate at?

I need to theme the advance poll, but not sure what the tpl file name and where should it located... I had tried poll-vote.tpl.php inside mytheme templates file I had tried poll-vote.tpl.php inside ...
0
votes
1answer
129 views

Adding Poll to Blog Content Type

I'm using D7, and I've created the Content Type 'Poll'. That said, I want to add a specific Poll I've created to a published Blog Entry. Is this possible? I thought about creating a poll block, but ...
0
votes
1answer
46 views

How to enable an authenticated user to vote?

I am new to the field . I made a drupal 7 site using theme Danland, I am able to vote for the poll as an administrator but when I login as an authenticated user I can see the completed poll and I can ...
1
vote
1answer
385 views

How to allow visitors add option in poll?

I would like to have a poll for logged in and anonymous users to vote. In the poll, users are allowed to add in their own poll option and vote. (Just like how Facebook poll is working previously) Is ...
0
votes
0answers
396 views

Memcache - Ignore block/page

We are using Memcache in addition to Drupal's cache system. This has introduced other problems that we were not prepared for. I have tried a couple of modules that are designed to allow the exclusion ...
2
votes
1answer
112 views

Send an email notification to admin prior to poll close date

I'm using Advanced Poll module and it has a nice "Time management" feature. We can schedule when to open or close the poll. I want to send an email notification to the administrator one day prior to ...
1
vote
1answer
76 views

Advance Poll block keeps caching results

We have begun testing the Advanced Poll module. We are having an issue where the results from the very first vote are cached, and then all page views from that point are only the results of that ...
5
votes
2answers
957 views

How do I submit call handler on radio button selection?

I use the advanced polls module in Drupal 7. I am trying to alter the behaviour so that the vote is submitted as soon as the radio button is selected (without having to hit Vote). The module is using ...
0
votes
0answers
123 views

How can I show poll options and hide vote button for anonymous users in advanced poll module?

I am using Advanced poll module to create polls in Drupal 7. I want to show poll options and vote button to authenticated users, but I want to show poll options and a message instead of vote button ...
0
votes
1answer
3k views

How do I prevent a page from reloading after form submit?

Im trying to edit the poll module to prevent the page reloading after every form submit. no matter where I put $form_state->disableRedirect() when the button is clicked the whole page reloads. ...
0
votes
1answer
73 views

Vote from list of existing nodes

I have a Content Type "Picture". The contentmanager now wants to choose specific nodes of this ContentType and put them in a voteable list. The voting list should be auto generated if possible. Users ...
1
vote
0answers
31 views

Track polls user has answered?

I am building a user profile page and i would like to show what polls the user has voted on. Showing polls the user created is easy, but is there a way to keep track of their votes?
1
vote
1answer
233 views

Is it possible to show Poll results as a table in Views?

I want to show the results of a Poll (core module) in Views. However, the only way to show any Polls in Views is just as a full node (as they appear to a normal user). I want to be able to display ...
0
votes
1answer
332 views

How do I allow same user to vote multiple times in Drupal 7?

I am trying to use the core drupal module for polls. I need to enable every user to vote a predefined number of time. I am not sure if this possible out of the box. If it is not how can I add this ...
1
vote
0answers
34 views

List page for Polls

I've put a Poll block on my home page using Views. I want visitors to be able to see older polls, so I made a view for that as well that points to /polls. However, this page displays each poll's ...
0
votes
1answer
96 views

Submit few forms in Drupal 7

I try to add Poll-voting to my website, on page I addet 5 votings forms, I try to make submission of all 5 forms by one click instead of 5 clicking. I wrote this script : <script language="...
1
vote
1answer
184 views

Open poll results in popup / overlay

I'm using the Poll module in Drupal core (also using Poll blocks and Ajax poll). As designed, when I vote I'm taken to the results page, but I'm wondering if it's possible to display the results as a ...
1
vote
1answer
65 views

How do you edit the link count on /poll index page?

In Drupal 7 how do you increase the number of polls listed on domain.com/poll ? The current limit appears to be 15 polls per page and then there is pagination at the bottom. I would much rather have ...
1
vote
0answers
20 views

Polls seeing multiple users as one user (D6)

For the polls core module, I am coming across an issue where if multiple users of the same role type try to vote, only the first person who did so can. It is almost as if it thinks that all the users ...
1
vote
1answer
169 views

Use views to display not voted polls

I'm using polls (from core) to make some enquetes. Is there a way to use views to display only the polls that a user has not voted yet? I didn't find anything on google. The only solutions where for ...
1
vote
1answer
85 views

Unknown directories /pipermail /poll accessible in Drupal 7

My Drupal 7 install, has the Simplenews and Polls modules enabled, but Simplenews is set to subscribe registered members only, and Polls are only open to authenticated users. Yet, the mysite.com/...
0
votes
1answer
964 views

How to always show poll results view instead of vote view on poll single node?

The default poll runtime settings don't fit our needs. We need to have a time window with a specific start date and a specific end date. When it's too early the button and radio inputs will be hidden. ...
0
votes
2answers
1k views

Ranking/polling field or webform module

I am trying to find a field (ideally, for use with Entity Forms), or a webform module that allows me to poll users. I have found several modules like "Fivestar" and others that do basic polling, ...
1
vote
1answer
442 views

Listing Polls and choices on same page

I have couple of polls , i want all of them on one page . like this... any clue ? thanks
-2
votes
1answer
91 views

How to get author specific poll in most recent poll block?

I Created a poll with core module "Poll". Can we get author of the poll and display in Most recent poll block? I have using block--poll--recent.tpl.php to theme the poll. I have tried by global ...
1
vote
4answers
2k views

Creating a poll inside a content type

I need a poll inside my content types. Sometimes the users create an article and like to create a poll directly into the node they created. They don't want to create an extra poll with no connection ...
0
votes
1answer
51 views

Poll Listing, Where admin can rate and user and rate a poll?

I need to develop a page, where we need to display a list of polls which are published. and Need to create a content by admin where user and admin, both can rate it. Does anybody suggest a ...
1
vote
0answers
163 views

Voting not done with Advanced Poll on Views page for Zen sub theme

I am using the Views Infinity Scroll and the Views modules. I am using Advanced Poll for the polls. I tried to list all the Advanced poll content types. The voting for the polls is done quite good in ...
1
vote
1answer
312 views

Poll Rules integration

How can I integrate core poll module with rules? I found the advpoll module but it is still in dev version and throws errors everywhere. I am looking to simply trigger a rule after user votes on a ...
1
vote
1answer
1k views

Multiple choice poll

I thought this would be out of the box, but it doesn't seem so. I'm looking for a way to be able to have a multiple choice poll where users can select more than one answer. Is this even possible ...
0
votes
1answer
3k views

How do I enable anonymous users to vote?

I created a poll, and I am displaying it in a block on my site. The radio buttons are available, when I am logged in; when I log out, they aren't showing, and the vote results are instead displayed. ...
3
votes
2answers
702 views

anonymous voting using poll module invalidates cache

I am not sure if this is a common problem. I use drupal 7 site with caching enabled. One of my pages is a simple poll. After anonymous voting, all cached pages are invalidated for current user. The ...
0
votes
0answers
108 views

more than one vote for single as well as guest users

I am using Drupal 7 with my custom theme. I have enabled core poll module and create poll form content and it will display on my desire place. but when any one can vote it will display result this ...
3
votes
1answer
1k views

How to create a view to display poll results formatted as a chart?

By using core module poll, every time somebody participates in it, the poll module creates data representing the selected option of the poll, called 'poll results'. How can these poll results be ...
0
votes
0answers
985 views

Create Poll contents type [duplicate]

needed to create some content types that have a field that creates a vote, as a poll. Have you tested the modules and Advanced Poll Pollfield but as yet there is not a production version-these contain ...
3
votes
1answer
751 views

Poll in two languages

I've installed Poll Core module in Drupal 7 trying to display the same poll with the same result in two languages (English and Arabic) but Drupal treats each one as a separate poll with different ...
0
votes
1answer
116 views

Poll module for blogs

I have a blog that needs a poll attached to it. I've looked at a few modules, but they seem to be buggy. Any suggestions on a good poll module or methodology?
2
votes
2answers
68 views

Can I run 2 active polls on my site?

We have a regular poll on our homepage, which I set up by selecting 'most recent poll'. However, I want to add a different poll on a seperate page on my website. Can I do this? I can't find polls as ...
1
vote
1answer
72 views

How do I keep the cron from removing a poll from my front page?

I am running Drupal 6 and cron from my crontab. I created a poll on a site that I have inherited and moved it into the first sidebar where it appeared until the cron ran. I can duplicate this (cron ...
0
votes
1answer
564 views

How can I open Poll for Anonymous users?

I wonder how I can open my poll for everyone including anonymous users, not just registered users.
1
vote
1answer
140 views

How do I show the latest poll user hasn't voted on, yet?

When an authenticated user has voted on a poll, I would like to show the next poll where the user hasn't voted on. How should I implement that?