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 
How to get the comments displayed?  XML
Forum Index » General Discussion
Author Message
rameshrao
Newbie

Joined: 02/12/2007 01:15:44
Messages: 1
Location: Centerville, OH, 45458, USA
Offline

I am using Advanced Poll v2.08. The code is:

$php_poll->set_template_set("popup");
if ($php_poll->is_valid_poll_id(4)) {
echo $php_poll->display_poll(4);
}

The popup window displays the results but not the "comments". How do I get this implemented? What code changes/additions are required?

Following additional code did notmake any difference.

$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(5);
$php_poll->set_date_format("d/m/Y H:i");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments(4);
echo $php_poll->get_comment_pages(4);

Any help welcome. Thanks in advance,
Ramesh
 
Forum Index » General Discussion
Go to:   
Based on the open source JForum