{if !empty($blocks) } {if isset($blocks.mbMenu)} {assign var='block' value=$blocks.mbMenu} {assign var='myblock' value=$blocks.mbCategories } {include file=$block->template|@get_extent:'mbMenu' } {/if}