ibenick
Active member
I've searched for an answer on this and I can't find the information I need.
I have ads at the top of each thread on my site that only show to guests. I need to make it so that in one specific thread, that ad does not appear for anyone at all.
So I looked at this from the FAQ:
And figured I could do this:
That didn't work though. Any ideas why? And then even if I go get it working, can I then wrap all that up in another conditional that says only show that to guests? Sorry if this has been covered elsewhere.
I have ads at the top of each thread on my site that only show to guests. I need to make it so that in one specific thread, that ad does not appear for anyone at all.
So I looked at this from the FAQ:
How can I show content in a specific thread?
<xen:if is="{$threadId} == x">
This content will show in thread x
</xen:if>
And figured I could do this:
Code:
<xen:if is="{$threadId} == 1923">
<p>This content goes in thread 1923</p>
<xen:else />
<div>ad code</div>
</xen:if>
That didn't work though. Any ideas why? And then even if I go get it working, can I then wrap all that up in another conditional that says only show that to guests? Sorry if this has been covered elsewhere.