1. 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

Discussion in 'XenForo Questions and Support' started by timothy259856, Jan 2, 2013.

  1. timothy259856

    timothy259856 Active Member

    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 :(
     
  2. Slavik

    Slavik XenForo Moderator Staff Member

    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.
     
    timothy259856 likes this.
  3. timothy259856

    timothy259856 Active Member

    i dont know query :(
     
  4. timothy259856

    timothy259856 Active Member

Share This Page