Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
14/08/2002 23:02:28
|
Anonymous
|
Have 2.0.2 running fine inside a pop-up....would rather display on page with <style type="text/css">, cell, borders, etc. which is causing display problems with borders, etc. Would appreciate code to place http://fmhs.net/poll.php on http://fmhs.net , instead, and drop the pop-up.
Can not figure it out...any help appreciated.
thanks,
mike@fmhs.net
|
|
15/08/2002 21:27:49
|
dunnma
Beginner
Joined: 13/08/2002 23:09:49
Messages: 10
Offline
|
Have you tried adding this line of code before the standard code on your webpage?
$php_poll->set_template_set("default");
NOTE: You can pick which template you want to use. You might be using "popup"
So the coding on your page should now look like this:
<?php
include_once "blah/blah/blah/booth.php";
$php_poll->set_template_set("default");
echo $php_poll->poll_process("random");
?>
Also, if you create a poll and then click on the view all polls in the admin you should notice a text document icon at the end of each poll. If you click on that icon it will give you the exact code to get that poll to show up on your webpage. Don't forget to include the thing at the top as well.
HTH
Matt
Mike wrote:
Have 2.0.2 running fine inside a pop-up....would rather display on page with <style type="text/css">, cell, borders, etc. which is causing display problems with borders, etc. Would appreciate code to place http://fmhs.net/poll.php on http://fmhs.net , instead, and drop the pop-up.
Can not figure it out...any help appreciated.
thanks,
mike@fmhs.net
|
|
|
|
|
|
Based on the open source JForum
|