Tutorials Display Topic tag at the bottom of thread view

Marks-Man

Administrator
Joined: Mar 15, 2021
Messages: 63
Resources: 14
Points: 18
Reaction score: 28
Code:
<xf:if is="$xf.options.enableTagging AND ($thread.canEditTags() OR $thread.tags)">
            <li>
                <xf:macro template="tag_macros" name="list"
                    arg-tags="{$thread.tags}"
                    arg-tagList="tagList--thread-{$thread.thread_id}"
                    arg-editLink="{{ $thread.canEditTags() ? link('threads/tags', $thread) : '' }}" />
            </li>
        </xf:if>

Template:

  • thread_view
 
  • Tags
    2.2.x display tags topic xenforo
  • Top