it works for the first page, but not for the second
$thread['replycount'] give the total number of replies to a thread; I need the number of replies on the current page.
I found this escamotage:
<if condition="$thread['replycount'] - $pagenumber*$perpage + $perpage > 1">
it works!
but this not:
<if condition="$thread['replycount'] - ($pagenumber-1)*$perpage > 1">
Thank you very much!
|