PDA

View Full Version : [Basic] Assign variable to header


OmarH
08-31-2009, 06:07 PM
Hi All,

I have create Hook in global_start


function test()
{
return 'Hi World';
}
$sayHi = test();


i want to assign $sayHi to header template.


Thanks!

Dismounted
09-01-2009, 07:17 AM
Just put the variable inside the template, there's nothing else you need to do (well, not for vBulletin 3 anyway).