• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Ad positioning


Active member
I have added an ad between first and second post but would like to display it only if there are at least two posts in the thread.

I am using this conditional to display it but at the moment it displays even when there is only one post:

<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0">