Inactive User
4 years agoUpgrading to Forums 5, now the reply subjects aren't showing
We use a custom article layout. In Forums 4.xx and below,
<@component id="message-view.widget.subject" disableSubjectLink="true"/>
Worked fine to show the Re: subject line
However, in Forums 5 the subject line doesn't snow. Is there a new component or is this a bug?
This is the sort of thing that drives me crazy about Khoros community. Things, inlcuding customizations work fine, until one day, without proper documentation, things are updated and then don't work anymore.
Inactive User
In Forums v5, we do not show subject in replies. Apologies for not explicitly mentioning it. We have now updated the docs:
Replying in a Forum with threaded inline replies
Quilt changes for customized forums- Inactive User4 years ago
I wound up just making a LiQL call for the subject and echoed it.
<#assign apiVersion = "2.0"/>
<#assign featuresQuery = "SELECT subject FROM messages WHERE id='${env.context.message.uniqueId}'"/>
<#assign subjects = rest(apiVersion, "/search?q=" + featuresQuery?url + "&restapi.response_style=view").data.items![] /><#list subjects as subject>
<div class="lia-message-subject lia-component-message-view-widget-subject">
<div class="MessageSubject">
<h2 class="message-subject">
<div class="lia-message-subject">
${subject.subject}
</div>
</h2>
</div>
</div>
</#list>