PDA

View Full Version : Can anyone help


aditya88
05-17-2010, 05:32 PM
I am creating custom template like test in admincp.

And called this by {vb:raw test} in header.

But i didn't get any html or text content in header.

Please give me example. How i called custom templates into other templates like header, footer.

I m working on vbulletin 4.0.3 patch level.

please reply us.

Thanks
aditya

bananalive
05-18-2010, 03:37 PM
You will need to pre register any variables before you use them, for example:
$test = "<p>test</p>";
vB_Template::preRegister('header',array('test' => $test));

and then you can use test {vb:raw test} in header template.