XF 2.2 How can I show a widget only in one forum?

rhodes

Active member
Hello,
I use the widget system to show some blocks in the sidebar. What i would like to do is display a content block only in the forum with the ID = 6

<xf:if is="$forum.node_id == 6"> <div class="block"> <div class="block-container"> <div class="block-body block-row"> Only show in Forum with ID = 6 </div> </div> </div> </xf:if>
Unfortunately this does not work. What ist my mistake?
 
Top