Lukas W. Well-known member Jan 7, 2014 #1 Is there a way to get if it is the last iteration of a Foreach-Tag or not? I'd need to set a comma after each iteration except the last one.
Is there a way to get if it is the last iteration of a Foreach-Tag or not? I'd need to set a comma after each iteration except the last one.
Jeremy in memoriam 1991-2020 Jan 7, 2014 #2 http://xenforo.com/community/resources/template-syntax-xenforo-tags.2122/update?update=5135 Upvote 0 Downvote
Lukas W. Well-known member Jan 7, 2014 #3 So basically I do a Code: <xen:if is="{$i} == {$count}"> Edit: Works, thanks! Upvote 0 Downvote