XF 2.1 How do i get the last appearing block using conditional statements

Yu_Xiu

Member
So lets say there are multiple blocks and $block defines each block
<xf:if is="$block== 'what do i put here to get the last one thats appearing if 1 is for first">
my content
</xf:if>
and i know that 1 is for the first block what is for the last block?
it keeps generating* so i cant just put a specific number
PS. $block is just an example i dont plan on specifically using it im just looking for how to get the last block
 
Top Bottom