Closed imonroe closed 10 years ago
The example code assumes you intend to display the polls dynamically. If, for example, you want to display a particular poll on multiple pages of your site regardless of the current URL you must use dynamic="no"
in the {exp:channel:entries}
tag.
AHA! Brilliant!
I knew it was just some stupid thing that I had forgotten about.
Works great now. Thanks very much for the quick response!
Ok, so I've used the VWM polls sample code to create a widget, which I want to be able to include on story pages. Here's the code:
this is called like so:
So this works great on the front page of my site (where no $poll_id variable is supplied), and it works on a page all by itself, but it doesn't work on my story pages. It's like the {exp:channel:entries} loop never fires at all.
What am I doing wrong?