PDA

View Full Version : Calling a template


Hard*Drive
06-12-2009, 11:18 PM
Hello,

I'm trying to call standard vBulletin templates in others. For example in the search template the navbar template isn't usally shown. I want to use the $navbar variable in the template to get it to show. How do I get this to work?

Thanks for any help given :)

HMBeaty
06-12-2009, 11:20 PM
This should help you

https://vborg.vbsupport.ru/showthread.php?t=119933&highlight=template+variable

ForumsMods
06-12-2009, 11:21 PM
Use:
eval('$navbar = "' . fetch_template('navbar') . '";');

Hard*Drive
06-17-2009, 01:47 PM
Cheers for pointing me in the right direction :)