Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Jikson26 - tammikuu 14, 2006, 06:16:47 IP

Otsikko: Problems with assigning function to templates
Kirjoitti: Jikson26 - tammikuu 14, 2006, 06:16:47 IP
Hi I am using various template systems to test the functions in SSI.php, but everytime I assign a function like this:

$template->assign('latestmember', ssi_latestMember());
$template->display('header.tpl');


The output will always be at the VERY top of the page, not where I wanted it to show in the .tpl. I am using smarty template class for that. What is wrong?