Alpha1 Well-known member Saturday at 4:01 PM #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 Saturday at 10:21 PM #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'
Alpha1 Well-known member Saturday at 10:50 PM #3 So in XF2 it should not be an array? Upvote 0 Downvote
N Nousia New member Yesterday at 1:07 AM #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'])