XF 2.2 Hide node from latest activity page

grantw

Member
I have a node that is set to not display content in what's new / new posts etc. but this option doesn't stop it appearing in the latest activity page. Is it possible to hide content from this node using a conditional on the news feed templates please?

I have tried surrounding templates news_feed_item_post_insert and news_feed_item_thread_insert with the following, but it's not working:

Code:
<xf:if is="{$forum.node_id} !=3">

    template content
   
</xf:if>

Thank you!
 
Back
Top Bottom