Forums / Cotonti / Support / Site navigation row in header.tpl

how can I create a plugin to do that?

Trustmaster
#15450 2009-08-03 17:14
And those are still global variables. But you see what happens in the script:
$t = new XTemplate('header.tpl');
// something
$t->parse('HEADER');
$t->out('HEADER');
// The template has been rendered and sent to output

$t = new XTemplate('page.tpl');
// This is where your corehack works
$out['youre'] = 'Something';
$t->parse('MAIN');
// Here it parses MAIN, not HEADER which is not accessile
$t->out('MAIN');


Added 39 seconds later:

Global tag listing
May the Source be with you!