I overrode the node display for "Poll" node types (core Poll module). I added content panes from the Node category; "Poll results" and "Poll vote". But regardless of the permissions I set for the Poll module, these panes don't show up when a Poll node is viewed. The Results and Vote panes use the view mode "Full content", and this is set to "Visible" in the content type's Manage Display (fields) settings. I've attached an export of this panel.

So, I can't work out what's going on - whether this is a bug, or whether I'm doing something wrong. Any advice?

CommentFileSizeAuthor
poll-panel.txt2.54 KBMark Nielsen

Comments

Countzero’s picture

Same problem here. Will update if I find a solution.

roberskine’s picture

Same thing here, trying to figure this out now..

chriso’s picture

I am also not sure what's going on with the Poll Vote and Poll Results entity field things, however you might be able to work around this by choosing "Existing Node" from the Add content screen instead of picking from the node section.

For "Enter the title or NID of a node", just enter %1 to reference the "456" part of "/node/456".

sbydrupal’s picture

I think this has nothing to do with
"Entering a NID of an existing Node".

The problem is to override the "Node Template" with panels and create the Node Template for all Nodetypes instead of a specific Node posted...

I am curious if there is any solution to the issue ... Other solution is Pollfield yet it gives error currenlty for Version 7.x and
would prefer to use the core Poll module.

Thx

Anonymous’s picture

Having the same problem after switching from Display Suite Field UI to Panels.

Switching back to Display Suite Field UI solves the problem and allows results/voting to be displayed. I have found that it is always a good idea to try switching between Panels and Display Suite when these types of unusual display problems come up.

borisbaldinger’s picture

I had the same problem for a project i am working on. I created a sandbox which implements a very simple custom content pane that displays the poll form and the result.

Here ypu can find it: https://drupal.org/node/2119069

borisbaldinger’s picture

Issue summary: View changes

Corrected some spelling/grammar mistakes to make the report clearer.

rajmataj’s picture

Issue summary: View changes

If you create a poll on a fresh Drupal install (tested with 7.34) and create a simple poll, the link 'results' will be there and will work fine (node/xxx/results) but as soon as you vote, the 'results' link is not there. Trying to go to the results page after you've voted will result in a Access Denied page. Before voting when I can access the results page, it's worthwhile to note that the node/xxx and node/xxx/results node look exactly the same. The Access Denied page might have something to do with the recording of the voter's IP address.

japerry’s picture

Status: Active » Closed (outdated)

Drupal 7 is no longer supported, closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.