Thanks for the example.
Let's say I find {vb raw: totalpost} in FORUMHOME and I would like to use the same {vb raw: totalpost} in HEADER.
totalpost is a VB build-in variable. Is there a way to find out all the VB build-in variables and it's PHP location?
Where do I find which PHP file should I register with? and do I just add this line below FORUMHOME?
PHP Code:
vB_Template::preRegister('FORUMHOME',array('totalpost' => $totalpost));
vB_Template::preRegister('HEADER',array('totalpost' => $totalpost)); //This line register myvar in FORUMHOME template.