Questions tagged [polls]
Use it for questions about one of the modules used to create simple polls.
67
questions
0
votes
0
answers
32
views
Poll as "Rendered Entity" field is not displaying in views
I have integrated Poll as a field in Content type,let be "article'.Poll is displayed as rendered entity wherever required.
Now I have created a view listing all articles.Poll is also added and ...
0
votes
1
answer
70
views
How can I display user information along with its choices?
Usually, polls are anonymized. We need to process total votes, percentages... Now, in the context of Ukraine invasion, an institutional client wants to enhance an Advanced poll existing implementation,...
0
votes
0
answers
55
views
Order results by number of votes
I want to display the pool result output by the Poll module by the number of votes, instead of the default order which is the same for all the polls.
I made two attempts:
Creating a poll view ...
0
votes
2
answers
152
views
How to hide all nodes of a particular content type?
I have a site that used to run polls, but has stopped doing so. I'd like to keep the poll nodes in the database, just in case things change in the future, but otherwise hide the nodes. I guess this ...
-2
votes
1
answer
551
views
How to filter Data on the basis of id or uuid by Rest API?
I am using Drupal 8 I have installed the poll module.
I created a view with REST export enabled. Now when I get the data by this url
http://localhost/poll/rest/polling
I am getting all the data of ...
0
votes
0
answers
124
views
How to fetch field value via REST
I am using Drupal 8. I have installed the Rest module. I need to do polling so I also installed the Poll module. I created two questions with choices in poll and after that I created a view to show ...
-1
votes
1
answer
246
views
How can I change the label for the vote button?
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
1
answer
165
views
Why can't anonymous users vote more than once from different browsers/machines? [duplicate]
I created a poll in a Drupal 8 site and I enabled anonymous voting too, but when opening the pool in different browsers/machines, the poll results appear and anonymous users cannot vote.
Please tell ...
-1
votes
1
answer
113
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
1
answer
55
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
0
answers
652
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' => ...
15
votes
2
answers
21k
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
0
answers
49
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
1
answer
161
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
1
answer
55
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
1
answer
454
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 ...
2
votes
1
answer
137
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
1
answer
99
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 ...
4
votes
2
answers
3k
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
0
answers
140
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 ...
1
vote
1
answer
6k
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
1
answer
84
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
0
answers
42
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
1
answer
316
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 ...
1
vote
0
answers
44
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
1
answer
99
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
1
answer
202
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
1
answer
68
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
0
answers
23
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
1
answer
189
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
1
answer
95
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
1
answer
1k
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
2
answers
2k
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
1
answer
598
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?
-2
votes
1
answer
92
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
4
answers
3k
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
1
answer
53
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
0
answers
171
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
1
answer
332
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 ...
2
votes
1
answer
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
1
answer
4k
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
2
answers
771
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
0
answers
112
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 ...
4
votes
1
answer
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
0
answers
986
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
1
answer
811
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
1
answer
121
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
2
answers
75
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
1
answer
73
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
1
answer
582
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.