PDA

View Full Version : like {vb:raw example} it is not work


gkaradagan
03-11-2010, 03:44 PM
hi everyone

<a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a>
this code is from forumhome_forumbit_level1_post but I want to run this code here(forumhome_lastpostby) . i put this code and it is not work how can ı run that?

bumsengee3
03-11-2010, 05:14 PM
you want to find where "forumhome_lastpostby" is created and register the variables you want to use before you can call them in the templates.

$templater = vB_Template::create('forumhome_lastpostby');
$templater->register('variables_you_want', $variables_you_want);

gkaradagan
03-11-2010, 06:24 PM
thank you i will try that

--------------- Added 1268353998 at 1268353998 ---------------

i put in forum.php this code after that i put above code and it is not work . after that Should i do somethings?