XF 1.3 Show quote from ignored user

Case

Well-known member
Currently the ignore system adds the 'ignored' class to the message blockquote and through css, this is then hidden.

I'd like to leave an indication (not the whole original message) that a message is in response to a quote from an ignored user though.

So this is the code currently...

Code:
<blockquote class="messageText ugc baseHtml{xen:if $message.isIgnored, ' ignored'}">
<xen:include template="ad_message_body" />
   {xen:raw $message.messageHtml}
</blockquote>

So if the message/quote is from an ignored user, the whole blockquote is hidden.

I thought I could do something like...

Code:
<blockquote class="messageText ugc baseHtml">
  <xen:include template="ad_message_body" />
  <xen:if is="{$message.isIgnored}">
     You are ignoring content by this member
  <xen:else />
     {xen:raw $message.messageHtml}
  </xen:if>
</blockquote>

That doesn't seem to have any effect though. Any ideas?

Thanks
 
Last edited:
Top Bottom