XF 1.4 ad_sidebar_bottom

upnet

Active member
I am trying to add this code to the ad_sidebar_bottom but it seems to not work. Is this conditional not applicable in this template?

<xen:if is="{$forumId} == 107">
<a href="yahoo.com"><img src="yahoo.jpg"></a>
</xen:if>
 
I use this code below for the forum index and it works well. What I am trying to do is have a code that displays an ad in the sidebar_bottom only in a specific forum - node 107. Any idea how to do that?

<xen:if is="{$contentTemplate} == 'forum_list'">
<a href="google.com">
<img src="google.jpg">
</a>
</xen:if>
 
so I can specify position: hook:ad_sidebar_bottom in widget framework but is it possible to specify only a certain forum? i tried using the if forumId in the expression but to no avail. any other possible solution to place an image with a link in the sidebar of a specific forum.
 
Back
Top Bottom