Alpha1 Well-known member Oct 18, 2025 #1 I want to display a widget only if the node ID is 60 or 2780. The display locations are Forum overview: Top Thread view: Below quick reply What is the Display condition I need to enter in the widget settings?
I want to display a widget only if the node ID is 60 or 2780. The display locations are Forum overview: Top Thread view: Below quick reply What is the Display condition I need to enter in the widget settings?
N Nousia New member Oct 18, 2025 #2 Alpha1 said: I want to display a widget only if the node ID is 60 or 2780. The display locations are Click to expand... $xf.reply.containerKey == 'node-60' OR $xf.reply.containerKey == 'node-2780' Upvote 0 Downvote
Alpha1 said: I want to display a widget only if the node ID is 60 or 2780. The display locations are Click to expand... $xf.reply.containerKey == 'node-60' OR $xf.reply.containerKey == 'node-2780'
N Nousia New member Oct 19, 2025 #4 Alpha1 said: So in XF2 it should not be an array? Click to expand... in_array($xf.reply.containerKey, ['node-60','node-2780']) Upvote 0 Downvote
Alpha1 said: So in XF2 it should not be an array? Click to expand... in_array($xf.reply.containerKey, ['node-60','node-2780'])