PirateTinman
11-03-2012, 01:40 AM
I code a Plugin a few month ago, and after servercrach i have to reinstall everything. But, one of my plugins, i cant use, becourse, i don't know, how to include it, into the template.
this is the plugin-code-snipped:
vB_Template::preRegister('navbar',array('treuhand' => $treuhand));
vB_Template::preRegister('treuhand_tpl',array('tre uhand' => $treuhand)); //ausgabe
$template_hook['navtab_done'] .= vB_Template::create('treuhand_tpl')->render();
there is an "treuhand_tpl" in the "change-template-area" called "treuhand_tpl":
<div class="block" id="treuhand_template">
<h2 class="blockhead"><div style='float:left'>Treuhandverwaltung</div></h2>
<div class="blockbody settings_form_border">
<div class="blockrow">
{vb:raw treuhand}
</div>
</div>
</div>
but i don't know, how to include it into the Forumhome or forumdisplay, becourse i forget to write it down on a sheet of paper :D
i hope, anybody can help me.
greetings Pirate
this is the plugin-code-snipped:
vB_Template::preRegister('navbar',array('treuhand' => $treuhand));
vB_Template::preRegister('treuhand_tpl',array('tre uhand' => $treuhand)); //ausgabe
$template_hook['navtab_done'] .= vB_Template::create('treuhand_tpl')->render();
there is an "treuhand_tpl" in the "change-template-area" called "treuhand_tpl":
<div class="block" id="treuhand_template">
<h2 class="blockhead"><div style='float:left'>Treuhandverwaltung</div></h2>
<div class="blockbody settings_form_border">
<div class="blockrow">
{vb:raw treuhand}
</div>
</div>
</div>
but i don't know, how to include it into the Forumhome or forumdisplay, becourse i forget to write it down on a sheet of paper :D
i hope, anybody can help me.
greetings Pirate