mrbiesheuvel
12-26-2011, 11:37 AM
I wrote a plugin to put some variables into the headinclude template:
$include = '<!-- Dit is een test -->';
vB_Template::preRegister('headinclude',array('incl uded_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?
$include = '<!-- Dit is een test -->';
vB_Template::preRegister('headinclude',array('incl uded_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?