The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Custom Template Hook
Hi,
I want to add a template hook called 'above_header' right at the beginning of the 'header' template. So in the 'header' template I've added Code:
{vb:raw template_hook.above_header} This template hook shall be used by a plugin which hooks 'forumdisplay_start'. The code of the plugin is: Code:
$forum = $vbulletin->forumcache["$forumid"]; $templater = vB_Template::create('ivwcode'); $templater->register('forum', $forum); $template_hook['above_header'] .= $templater->render(); Unfortunately the content of the 'ivwcode' template is missing in the generated HTML code. Why? Regards TiKu |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|