How would you set an include file dynamically from a set variables in a php file?
<body>
{onload;file={tplvar.absopath}}
</body>
So, once the template is loaded, $tbs->LoadTemplate($tpl)
the file should produce the html built on the file absopath
points to.
Parameter file
can insert the contents of a file inside the TBS template.
Examples
PHP side:
$filename = 'header.html';
Template side:
[onload;file=[var.filename]]
See parameter file