Quote:
Originally Posted by CypherSTL
Alright. I can get it to display just straight templates, that used to use just eval('print_output')...........
How would I go about displaying this:
Code:
eval('$userslist .= ", ' . fetch_template('userslist_bit') . '";');
|
Code:
$newTemplate = vB_Template::create('userslist_bit');
$newTemplate->register('variable1', $variable1);
$newTemplate->register('variable2', $variable2);
$userslist .= $newTemplate->render();