I have a forum structure like
When I look to forum list I see number of topics/posts only in forum1 itself, they do not include topics/posts from subforum1 and subforum2. Same with new topics.
I've tried to change advanced_forum.naked.forum-list.tpl.php
<td class="forum-number-topics"> <div class="forum-number-topics"> <?php $topics_num = $forum->num_topics; if (!empty($forum->subforums)): foreach ($forum->subforums as $forum_id => $sub_forum): $topics_num += $sub_forum->num_topics; endforeach; endif; print $topics_num;
but it did not change number..
So, how it can be done?
All I want - to see on the forum list topics, posts number and last messages from all forums in hierarhy.