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 |
07/02/2006 19:16:21
|
maskedmofo
Newbie
Joined: 07/02/2006 19:10:30
Messages: 1
Offline
|
Does anyone know how to edit the format/style of the comments?
I have search the forum for any help, to no avail.
I've attempted to edit the html in the file located here ...
/poll/templates/poll_comment.html
... but the style of the redisplayed commented do not change at all.
This is the poll code I am using, which works as intended in every other aspect.
<?php
$poll_path = "/home/public_html/poll";
require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
require $poll_path."/include/class_pollcomment.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new pollcomment();
/* poll */
$php_poll->set_template_set("plain");
$php_poll->set_max_bar_length(125);
$php_poll->set_max_bar_height(10);
echo $php_poll->poll_process(5);
/* poll comments */
$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(5);
echo $php_poll->get_comment_pages(1);
?>
I assumed that the line above in bold is what calls out the display style for the comments, which led me to the aforementioned poll_comments.html, but after editing it nothing seems to change.
Thanks in advance for any help.
|
|
|
|
|
|
Based on the open source JForum
|