You can use different $compile_id
settings in display/fetch to get different physical files on disk (although I think Smarty should handle this automagically for you depending on the path). compile_id
can also be set for {include}
statements.
I'm not sure what the code you've pasted implies, but you will want to turn on force_compile
to make Smarty regenerate the template each time it is shown (it's false
by default).