Say the sake of an example that is tries to use viewtopic_body2.tpl
$template->set_filenames(array(
'body' => 'viewtopic_body'.$forum_style.'.tpl')
);
'body' => 'viewtopic_body'.$forum_style.'.tpl')
);
Where $forum_style has pulled some info out of the database.
What's strange is that the page loads but is still using the original viewtopic_body.tpl file but I don't know why.
It's not a database/php error, it's definitely replacing $forum_style with a valid value because I got errors saying viewtopic_body2.tpl didn't exist at first (until I made the file).
Is there an override to the set_filenames function?