entelechy
Active member
I'm trying to add a widget using <xf:widget key="widget_key" /> at the top of the homepage, in between the nav and welcome section.
I'm pretty sure that the solution is along the lines of:
<xf:if is="{$dataTemplate} == 'forum_list'">
<xf:widget key="my_custom_widget" />
</xf:if>
However this isn't working, and when I add <xf:widget key="my_custom_ticker" /> without if tags I get the widget on all pages in that position.
Which variable should I check against to ascertain being on the forums page?
I'm pretty sure that the solution is along the lines of:
<xf:if is="{$dataTemplate} == 'forum_list'">
<xf:widget key="my_custom_widget" />
</xf:if>
However this isn't working, and when I add <xf:widget key="my_custom_ticker" /> without if tags I get the widget on all pages in that position.
Which variable should I check against to ascertain being on the forums page?