Include HTML file into Smarty .tpl file.
- by Leonarth
{if $loggedin}
{literal}
{include file="allhead.html"}
{/literal}
{else}
{literal}
{include file="allhead1.html"}
{/literal}
{/if}
How do I include the code contained into an HTML file in a smarty .tpl file? I've tried different solutions on various forums, but none work.