Quote:
Originally Posted by kh99
I would use hook parse_templates. You say you've tried "many different templates", do you mean other hean 'header'? Of course you know, but double check that you put {vb:raw mybanners} in the same template that you preRegister() to.
|
hmm... Didn't tried that hook and sounds matching the case. As for the rest. Except a typo that I had at the very begining (ad_global_header_1 instead ad_global_header1), the other were correct. And yes I tried many templates, even custom ones from my addons. So:
- Difficult to be the template name or the content as the variable is correct.
- PHP code is correct as it works with a test file that I did.
After all the hook must be wrong. Let's try with yours
--------------- Added [DATE]1422806090[/DATE] at [TIME]1422806090[/TIME] ---------------
Quote:
Originally Posted by kh99
I would use hook parse_templates.
|
That did the trick. Thank you.