FrancescoL
Active 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?
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?
!$xf.visitor.isMemberOf([1,2,3,4,5])
That is what I thought but the widget only shows to admins. To test I put up !$xf.visitor.user_id and then it does show to guests only.Don't enter any condition.
And for a page category ?Code:$xf.reply.containerKey == 'node-2'
Change the node ID as required.
And for a page category ?
Oups ! there is !
So i maintain my question
Edit: It's not an April fool... but i found how to...
Sorry.
in_array($xf.reply.containerKey, ['node-1','node-2'])
.!in_array($xf.reply.containerKey, ['node-1','node-2'])
.If any users can't "View member lists" then I think the members online won't show IIRC.It is a members online widget. I will have to do some checking. Thanks for your help
We use essential cookies to make this site work, and optional cookies to enhance your experience.