Russ
Well-known member
So I'm showing content after the first post on every page, that's fine.
What I need to do as well is show additional content above the bottom page nav only if there's at least 1 reply (so that a single post thread won't show both ads)
This conditional works good inside thread_view template:
Except when you get to a page in a multi-paged thread where it has a single post on it. So is there an additional conditional to check if a page of the thread has at least 2 posts on it?
Problem:
Ideally how it should show:
Thanks... I'm awful with conditionals.
What I need to do as well is show additional content above the bottom page nav only if there's at least 1 reply (so that a single post thread won't show both ads)
This conditional works good inside thread_view template:
Code:
<xen:if is="{$thread.reply_count} > 0">
Except when you get to a page in a multi-paged thread where it has a single post on it. So is there an additional conditional to check if a page of the thread has at least 2 posts on it?
Problem:
Ideally how it should show:
Thanks... I'm awful with conditionals.