The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#9
|
|||
|
|||
![]()
So you say i can do something like this in the same plugin right?
Code:
$template = vB_Template::create('custom_header_mysite_beta1'); $customheader1 = $template->render(); vB_Template::preRegister('header', array('custom_header_mysite_beta1' => $customheader1)); $template = vB_Template::create('custom_header_mysite_beta2'); $customheader2 = $template->render(); vB_Template::preRegister('footer', array('custom_header_mysite_beta2' => $customheader2)); $template = vB_Template::create('custom_header_mysite_beta3'); $customheader3 = $template->render(); vB_Template::preRegister('headerinclude', array('custom_header_mysite_beta3' => $customheader3)); should i call in this way: {vb:raw template1} {vb:raw template2} {vb:raw template3} ? Thanks alot for you kind help!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|