Imagine that i have a masterpage where i dinamicaly incluye blocks of html code (ex. Header, body, footer) using fasttemplate with
{HEADER}, {BODY}, {FOOTER} components. Then
$ft->define(array(‘header’ => “header.php”));
$ft->parse(‘HEADER’, “header’);
$ft->assign(array( ‘HEADER’ => $ft->Fetch(“HEADER”);
));
But i wont that header.php have a template header.html then $ft->Fetch(“HEADER”) result the parsed header.html. Is it posible ?
Thank’s |