All this work sounds great, however I have a question with the current template system.
I see in the index.php file, it parses through the page data and then outputs to the page. I think a great start for a new template would be seperated headers and footers, allowing for a decent amount of code reuse.
however, I haven't been able to parse through anything else before the page
Code:
$tpl->define('header', Config::get('LOGIN_TEMPLATE_PATH') . '/includes/header.tpl');
$tpl->parse('HEADER', 'header');
$tpl->prnt('HEADER');
or even simply include a header file in each template page.
Code:
{ include 'includes/header.tpl' }
||
{php} include 'includes/header.tpl' {/php}
Does anybody have experience with this?
Cheers