Hello,
I am working on a website which has a forum made using a weblog.
Basically, every new topic will allow registered users to add comments to them.
And in the Topic list page it should show:
-title of topic
-total comments
-last author
-time of last post
The code I used is :
<h2 class="forums">Forums</h2>
<p class="forumpath">
<a href="{path={my_template_group}/forums}">Reference Group Forums</a>
>> {exp:weblog:entries weblog="{my_weblog}"}{title}{/exp:weblog:entries}
</p>
<table border="0" cellpadding="2" cellspacing="0">
<tr class="title">
<td class="topic">Available Topics</td>
<td class="posts">Posts</td>
<td class="lastby">Last Posted By</td>
<td class="lastpost">Last Posted</td>
</tr>
{exp:weblog:entries weblog="{my_weblog}"}
{reverse_related_entries sort="desc" orderby="date" limit="10" paginate="bottom"}
<tr class="{switch="blue|white"}">
<td><a href="{path={my_template_group}/posts/{url_title}}">{title}</a></td>
<td class="posts">{comment_total}</td>
<td class="lastby">{author}</td>
<td class="lastpost">{entry_date format="%F %d, %Y - %g:%i:%s"}</td>
</tr>
{/reverse_related_entries}
{/exp:weblog:entries}
</table>
Now, for some reason the total comments do not update.. only some times it works once then does not update anymore.
I have tried Utilities - > Recount.. but it works sometimes but not others..
Is there something I can do?
