Democracy Plugin (problem with ‘view results’ link)
-
I just recently installed the Democracy Poll Plugin and I really like it. I have been able to get it to work in my site the way I want it to. However, I am having a little problem with the “View Results” link at the bottom of the poll. When you click that link, it will show you the list of current results, but below the list of radio options up above. Clicking on the “Back to Vote Screen” changes that list of results to radios, but leaving the top list, so now it looks like there’s double the options to choose from.
The one thing I have found that causes this is how I call the poll from my Page. If I call the poll by using
<?php jal_democracy(4, '<div class="polltitle">', '</div>'); ?>I get the problems with the “View Results” link. If I call the poll by using {democracy:4} the link seems to work correctly, and then also back to the voting page as well. The problem, I assume, is in class.php as when I called a poll by the php function, it but a break after the radio inputs. I was able to take that out, but I can’t find anything to change to get the “View Results” link to work.Here is a link to a page on my site with this issue. The first poll was called by php, the second was called by {democracy:X}
Thanks in advance for the help!
The topic ‘Democracy Plugin (problem with ‘view results’ link)’ is closed to new replies.