XF 2.0 Widget

So I think the steps are:

Make the widget you want.

Make a HTML widget to use as a "dummy". Stick this code into the HTML widget in advanced mode:

Code:
<xf:if is="$forum.node_id == 113">
    <xf:widget key="widget_key_for_your_widget" />
</xf:if>

The widget key should be the key from the first widget.

Assign the HTML widget to the sidebar.
 
The $context stuff only applies to widgets and it only applies if the widget position has context passed in to it. Certain things (like $xf stuff) are global so should be usable anywhere.
 
Top Bottom