Code: Select all
{foreach from=$entries item="dategroup"}
{foreach from=$dategroup.entries item="entry"}
.... do entry stuff here....
{/foreach}
{foreachelse}
{if not $plugin_clean_page}
<p class="nocontent">{$CONST.NO_ENTRIES_TO_PRINT}</p>
{/if}
{/foreach}
Is there a good reason why, before the nested {foreach}'s that I couldn't just do a quick {if !$entries}? Is there a negative side to this?