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
Read more
Читать далее...
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...Read more
Читать далее...