{foreach from=$hook_info key=arrkey item=element}
{if isset($smarty.get.page) and $smarty.get.page eq 'layout_plugin'}
{include file=$element['TemplatePath']}
{/if}
{/foreach}
{/if}
{if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"}