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

XF 1.3 Can I test for last page of a thread or last post in a thread?

#1
I did do a search and checked the document on conditional statment but could not find what I need.



Can I test for last page of a thread or last post in a thread?

Thanks

framer
 

Jake Bunce

XenForo moderator
Staff member
#2
This works inside of the post or message templates:

Code:
<xen:if is="{$post.position} == {$thread.reply_count}">
	
</xen:if>