I have refereed to the page, https://wiki.phpbb.com/Template.assign_vars how ever, not able to figure out, where to use the code,
My requirement is to dynamically prepare some values and make this value available in templates.
If anybody know this, please help
thanks
Code:
$template->assign_vars(array(
'S_SOME_VARIABLE' => $some_variable,
'NOW' => $user->format_date(time()),
)
);
If anybody know this, please help
thanks







