I want to show number of replies on top of the topic. How to do this? I cannot find this variable.
Are you using SMF2.1?
What theme design are you using?
Of course. That's why I wrote here.
$context['num_replies'] is the variable you're looking for ;)
It is only set when viewing a topic (eg: in Display).
Quote from: Leinnan on March 07, 2015, 08:11:42 PM
Of course. That's why I wrote here.
Yeah but unfortunately we had a LOT of people posting here when using 2.0.x so we need to ask...
Thanks, work perfectly!
Quote from: margarett on March 07, 2015, 08:18:41 PM
Yeah but unfortunately we had a LOT of people posting here when using 2.0.x so we need to ask...
No problem.