{block name=content}
{if isset($hook_info)} {foreach from=$hook_info key=arrkey item=element} {if $arrkey eq $smarty.get.name} {include file=$element.TemplatePath} {/if} {/foreach} {/if}
{/block}