XF 2.2 Tag list in article extended view

voom

Active member
I would like to see the small list of tags as seen under the title in thread view or in the regular list with the meta group the same way in the extended article view. (Some of this may be added by an addon, but I just need to find the template and position to add that to).

The code to be added ist:
Code:
        <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) : '' }}" />

I want this:
1656079019157.webp

here:
1656078935553.webp
 

Attachments

  • 1656078778373.webp
    1656078778373.webp
    24.7 KB · Views: 1
Just in case so. is interested, I found the position in post_article_macros and added a template modification:

Code:
<!--FIND:-->
<xf:macro name="post_macros::post_notices" arg-post="{$post}" arg-thread="{$thread}" />

<!--REPLACE:-->
<div class="thread_type_article-tags">
    <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) : '' }}" />
    </div> 
$0

and in extra.less:
CSS:
.template-thread_view_type_article .thread_type_article-tags {
    display:none;    
}
.template-forum_view_type_article .thread_type_article-tags {
    font-size:.75em;
    padding-top:.4em;
    padding-left:.2em;
    padding-bottom:.4em;
}
 
Back
Top Bottom