Page 1 of 1

How do I disable templates_c caching?

Posted: Sat Jun 17, 2006 10:36 am
by katon
I am trying to update multilingual hack to 0.13.  Does anybody know how to disable caching in the templates_c directory?  With caching enabled, content remains in the same language, while the menu, title, etc. changes ok.

Re: How do I disable templates_c caching?

Posted: Sat Jun 17, 2006 11:47 am
by Ted
Are you passing some kind of identifier to the 3rd parameter of $smarty->fetch?  I would do something like $lang . $page_id, that way it'll have different template compilations for each language.