Quote:
Originally Posted by kh99
Well, right, you'd have to do that in php, which means a plugin or modifying a script. But the issue seems to be where those variables are coming from. The code you posted looks like you're trying to capture the entire output of vbtrade.php into each of those variables, which won't work. But I'm not sure what to tell you to do instead of that.
Edit: I'm thinking now that you don't need this "include external files" thing at all. If you're trying to modify vbtrade.php to work with vb4, then you probably want to edit that script and change the way the templates are rendered.
|
You mean the end of my vbtrade.php?
Code:
$templater = vB_Template::create('forumdisplay_sortarrow');
$templater->register_page_templates();
$templater = vB_Template::create('vbtrade_main');
$templater->register_page_templates();
$templater->register('pagetitle', $pagetitle);
$templater->register('alt', $alt);
$templater->register('stocktable', $stocktable);
$templater->register('preview', $preview);
print_output($templater->render());
How can i change the way the templates are rendered?