XF 2.1 How to display notice when displaying thread content?


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.


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:

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


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

The template name is visible via the browser inspector.