A template edit, I would think. There aren't many configureable options for the format of articles.I was experimenting with article threads for the first time today. I noticed that it includes the about tab info as part of an author bio under the article.
Is there any configuration option to disable that? Or would I need to do a template edit to do this?
<xf:if contentcheck="true">
<div class="message-articleUserAbout">
<xf:contentcheck>
<xf:if is="$user.Profile.about != ''">
{{ bb_code($user.Profile.about, 'user:about', $user) }}
</xf:if>
</xf:contentcheck>
</div>
</xf:if>
Template edits could cause issues in future upgrades is a con on that side. At the very least, you'd have to resolve a template conflict. I would tend to look at the CSS approach first and see if you can get it to work that way.I found a template named: post_article_macros and lines 169-177 are:Code:<xf:if contentcheck="true"> <div class="message-articleUserAbout"> <xf:contentcheck> <xf:if is="$user.Profile.about != ''"> {{ bb_code($user.Profile.about, 'user:about', $user) }} </xf:if> </xf:contentcheck> </div> </xf:if>
It looks to me like I could either delete these lines, or add something to extra.less for the message-articleUserAbout class? I don't code much with CSS, so I'm not entirely sure how that works. What are the pros and cons of using a template edit vs. CSS (extra.less) edit?
It really makes no difference.FYI, if you do edit the template, I would not delete the lines, at least not to start. Comment them out. That way, you can rollback easily.
We use essential cookies to make this site work, and optional cookies to enhance your experience.