SupAlpuket
Graham i am still curious with your test
does it use something such this
<?php
//XtScript first
$xtscript = new script();
// here processing page with any xtscript.
// $xtforum_vars and $xtscript->vars should merged here
$twig = new Twig_Environment(...);
echo $twig->render($xtscript_output, $xtforum_vars);
Copy code