• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Show attachment view count in forum_view

#1
I want show lastest attachment(or lastest attachment in first message) view count to forum_view
Add
Code:
{xen:number $attachment.view_count}
to thread_list_item but not work
help me :(
 

Slavik

XenForo moderator
Staff member
#2
I want show lastest attachment(or lastest attachment in first message) view count to forum_view
Add
Code:
{xen:number $attachment.view_count}
to thread_list_item but not work
help me :(
You would need to query the actual post first to find out if theres an attachment and then the number. Just adding the coutner code to the forum_view won't do anything as it has no reference to count from.