XF 2.1 Widget display condition to show widget only in 2 forums

PumpinIron

Well-known member
I have a widget that I only want to be visible in two specific forums. One is node ID 128, and the other is node ID 30.

The widgets should be visible to all members and visitors, regardless of user group.

Can anyone help me with the code I need to make this happen?
 
I am wanting to do something similar now, but want to display said widget in the forum node display (ie. the display of threads within a specific forum{s}) and the thread view for any threads in said node{s}. Is that what the code in post #2 is doing?
 
Just tested and the code displays widgets for threads within specific nodes, but not the node itself (forum overview: top). Anyone know what display condition would work for selecting specific nodes in forum overview: top?
 
Back
Top Bottom