[RSS Feed/News] Widget condition (array) not working

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hi,

I'm using the latest version XF 2.2.10 and I want to display a sidebar widget in the thread view only if a thread is part of some particular forums.

Therefore, I set the widget condition to:

in_array($xf.reply.containerKey,['node-10‘,’node-11’,’node-13’,’node-16’,’node-85’,’node-115’])
Click to expand...

But the condition is ignored and the widget is display in any forum, even those not part of the array?

Any idea what I'm doing wrong?

Thanks!

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom