Foxtrek_64
Active member
Hi all,
I'm trying to get a widget to display only if the visitor is in a particular user group and viewing a particular forum.
My current display condition is this:
Getting the first condition to work is fine. But using the second condition, either by itself or in conjunction with the first condition means that the widget never displays.
Editing the
What should I do differently here?
I'm trying to get a widget to display only if the visitor is in a particular user group and viewing a particular forum.
My current display condition is this:
$xf.visitor.isMemberOf(19) AND $forum.node_id == 61
Getting the first condition to work is fine. But using the second condition, either by itself or in conjunction with the first condition means that the widget never displays.
Editing the
forum_view
template, I have determined that this is in fact the correct object to reference, but perhaps it's not available by the time the widget tries to display. What should I do differently here?