Include HTML file into Smarty .tpl file.

Posted by Leonarth on Stack Overflow See other posts from Stack Overflow or by Leonarth
Published on 2010-05-24T15:17:11Z Indexed on 2010/05/27 16:21 UTC
Read the original article Hit count: 129

Filed under:
|
|
{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.

© Stack Overflow or respective owner

Related posts about html

Related posts about include