Widget Display Condition - Specific Forum

Status
This content is read-only, or is not open for further replies.

Foxtrek_64

Guest
offline
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:

$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

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom