{if $page == 'customer' && $smarty.get.page_action == 'login' OR $page == 'cart' OR $smarty.get.page_action == 'order_info'}{assign var="show_index_boxes" value="false"}{/if}
{box name=topcategories}
{if $show_index_boxes == 'true'} {/if} {if $show_index_boxes == 'true'}
{else}
{/if} {if $page != 'index'} {/if}
{$content}
{hook key=index_footer_tpl}