9yN75.png

Thread views & Replies

swift

+Lifetime VIP+
ViP
True Member
+Member+
Registered
#1
I'm looking to add thread views & thread replies at the top of the thread near thread title.

{2324F163-CEEB-48A9-B329-39BFC415202B}.png.jpg

Does anyone know the code to add this?

Thanks
 

Similar threads

swift

+Lifetime VIP+
ViP
True Member
+Member+
Registered
#3
Sorry Bro' :(
I test to my forum but ... i didn't succeed

The template is "thread_list_macros" I think
I managed to fix it by adding following codes to thread_view in templates

Thread views:

Code:
<li><dl class="pairs pairs--inline">
                <dt>{{ phrase('views') }}</dt>
                <dd>{{ number($thread.view_count) }}</dd>
            </dl></li>
Thread replies:

Code:
<li><dl class="pairs pairs--inline">
                <dt>{{ phrase('Replies') }}</dt>
                <dd>{{ number($thread.reply_count) }}</dd>
            </dl></li>
 

Similar threads

Top