LaxmiSathy
Member
Hello,
I have Messages per Page set at : 10
and I would want to show ad after fifth post and I understand the conditional for the same as :
but I would want to include additional conditional where I want to show the ad after fifth post ONLY if the thread has 7 messages or more.
Can anyone help me tweak the above conditional.
Thanks.
I have Messages per Page set at : 10
and I would want to show ad after fifth post and I understand the conditional for the same as :
Code:
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 5">
Code for Ad here
</xen:if>
but I would want to include additional conditional where I want to show the ad after fifth post ONLY if the thread has 7 messages or more.
Can anyone help me tweak the above conditional.
Thanks.