Quote:
Originally Posted by Boofo
Why don't you just preRegsiter the variable in the hook? No need to replace code in the php file.
Code:
vB_Template::preRegister('navbar', array('thread' => $thread));
|
Great idea! Thanks for your help!
In this particular case I am happy to have it with the file edit as I have put the navbar template code below the part, where the $show variables are set. But I know, I may create the $show variables in a plugin, too. Just think that the 4.0.x releases are very few, so file edits are okay for me now