Quote:
so change $smarty->assign("main",$main); to $smarty->assign("list_main",$main);
|
that's correct
and do the same changes in the tpl files. at a minimum, add the prefix into the variables that were defined in the php file. at the maximum, add the prefix to all of the variables (as some variables are dynamically assigned in the tpl files sometimes, so might need prefixing as well)