If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
display 2.0.2 inside "text/css", cell, borders, etc.  XML
Forum Index » Support Forum
Author Message
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
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
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum