Display Topic tag at the bottom of thread view

XMAN

Active member
Joined
Jul 12, 2021
Messages
19,634
Reaction score
20
Points
38
Code:

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

Continue reading...
 
Top