XF 2.1 How to display notice when displaying thread content?

-Eric-

New member
same as here in the resources section when viewing the content.

I think it's in Page information (Page criteria), but I don't know the values to fill in.
 

Anomandaris

Active member
Most people display notices on all threads in a specific forum node, which can be done via Page Critera. But if you want to display only on a specific thread you would use:

Code:
<xf:if is="{$thread.thread_id} == x">
//display content
</xf:if>
I think that is correct
 

Brogan

XenForo moderator
Staff member
I believe he means displaying the notice when viewing any thread.

The template name is visible via the browser inspector.

1568232848574.png
 
Top