XF 2.2 Display Condition for forum's widget

FrancescoL

Member
How to make sidebar and sidenav widgets appear in a specific forum? I know that I have to intervene in "display condition". But what should I enter? What is the code?
 

Masetrix

Well-known member
How to make sidebar and sidenav widgets appear in a specific forum? I know that I have to intervene in "display condition". But what should I enter? What is the code?

The user groups specified below (.isMemberOf([1,2,3,4,5]) should not (!)see the widget
!$xf.visitor.isMemberOf([1,2,3,4,5])

...
 
Top