How do I disable templates_c caching?

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
katon

How do I disable templates_c caching?

Post 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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: How do I disable templates_c caching?

Post 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.
Post Reply

Return to “Developers Discussion”