I'm using Advanced Poll http://www.proxy2.de/poll/index.php
Installed it in folder called Poll in the root of the website
Made some changed to demo_1.php
Code: Select all
/* fourth poll */
//echo $php_poll->poll_process(4);
echo $php_poll->poll_process($pollnr);
In the template I added:
Code: Select all
<__script__ type="text/javascript" src="/uploads/Javascripts/resize_iframe.js"></__script>
Created a UDT named 'poll', containing:
Code: Select all
echo '<__iframe width="190" id="the_iframe" onLoad="calcHeight()" frameborder="0" src="poll/demo_1.php?pollnr='.$params[pnr].'"></__iframe>';
Code: Select all
include_once "/home/gregor/domains/uisge-beatha.eu/public_html/poll/poll_cookie.php";
This refers to poll number 8.{poll pnr=8}
Hope this helps.
Gregor