XF 2.0 This content will show in thread x

jamalfree

Active member
what instead this in xf2

Code:
<xen:if is="{$thread.thread_id} == x">
This content will show in thread x
</xen:if>
 
<xf:if is="{$__globals.template} != 'login' AND {$__globals.template} != 'error' AND $thread.thread_id != 27053">
...
</xf:if>
does not work for threads any suggestions
 
i use advertising can you merge this he work fine
<xf:if is="$thread.thread_id == 27053">
<xf:if is="{$__globals.template} != 'login' AND {$__globals.template} != 'error'">

....
</xf:if>
</xf:if>
 
I'm not super familiar with the advertising templates, but I wouldn't expect $thread is available inside of them. Someone else may know better though.
 
Top Bottom