Code: Select all
{foreach from=$items item='entry'}
{if $entry == 'something' || or $entry < 15}
{continue}
{/if}
<p>do whatever with all the other entries.</p>
{/foreach}
You can also shorten {foreach} processing times by making the loop stop once it meets the first instance of a condition, eg:
Code: Select all
{foreach from=$items item='entry'}
{if $entry == 'something' }
<p>Hello {$entry}</p>
{break}
{/if}
{/foreach}