I've made a module with CTLModulemaker and noticed that there is a smarty variable called: $item->is_selected.
I want to use this in my template but I want to show something also when NO/0 item/s is/are selected.
I now have the code
Code: Select all
{foreach from=$itemlist item="item"}
{if $item->is_selected}
........
{/if}
{/forwach}