I wrote a plugin to put some variables into the headinclude template:
PHP Code:
$include = '<!-- Dit is een test -->';
vB_Template::preRegister('headinclude',array('included_header' => $include));
The hook is init_startup
I have also tried parse_templates as hook but it keeps givin an empty space it as if the variable was never set to the template?
Can somebody tell me what I'm doing wrong?