Thought I'd share this...
Smarty {break} & {continue} tags are not available in Smarty v2, but are in Smarty v3.
They are handy, for example, if you want to truncate {foreach} or {section} items after x items / iterations.
Code:
{foreach from=$foo item=x name=whatever}
{if $smarty.foreach.whatever.index == 3}
{break}
{/if}
...
{/foreach}
(stops on third item)
Upload the attached two PHP files to /include/templater/plugins and you can use {break} and {continue}
Might assist some of you out there
