Quote:
Originally Posted by Lynne
a_variable is the name of the variable you are registering. $tagforms was supposed to be $a_variable, but I forgot to change it - it is now changed. As for the $template_hook, that would be the name of the template_hook you are trying to use.... if you are using a template_hook. I gave several examples up there - you would not use them all for one template call.
|
Unfortunately, it still doesn't work for me.
For example, if i want to use the template_hook method, and my template name is abc, my var name is var, and i want to use it in the forumhome template, the code should be something like this?
PHP Code:
$templater = vB_Template::create('abc');
$templater->register('var ', $var);
$template_hook['forumhome'] .= $templater->render();