امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Hello,
I would like to show a widget in the sidebar of some forums, but only within a certain category. Structure is like this.
category-1
-- forum - 1-1
-- forum - 1-2
category-2
-- forum 2-1
-- forum 2-2
...
-- forum 2-n
Is it possible to show a widget only in forum-2-1 .. forum-2-n ? I've tried in_array($xf.reply.containerKey, ['node-x','node-xx','node-xxx']) which works fine. However, in this case I have to add all forums manually and have to change the condition for every new forum...
Read more
I would like to show a widget in the sidebar of some forums, but only within a certain category. Structure is like this.
category-1
-- forum - 1-1
-- forum - 1-2
category-2
-- forum 2-1
-- forum 2-2
...
-- forum 2-n
Is it possible to show a widget only in forum-2-1 .. forum-2-n ? I've tried in_array($xf.reply.containerKey, ['node-x','node-xx','node-xxx']) which works fine. However, in this case I have to add all forums manually and have to change the condition for every new forum...
Read more
