Re: [SMARTY] Changing Templates
| From: | Bertrand DUNOGIER | Date: | Wed, 16 Oct 2002 11:46:52 +0000 |
| Subject: | Re: [SMARTY] Changing Templates | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6177@lists.php.net to get a copy of this message | ||
CC> Now the idea is that I can change the template path in my site and
CC> the site will just switch to another template (skinning). This
CC> sort of works, but is behaving strangely. When I change the
CC> template path in my setup.php file that I have. It don't change
CC> the site design until the templates are edited. I thought this was
CC> a caching problem so I turned this feature off. but that had no
CC> effect. The caching works when I turn it off because any database
CC> stuff gets updated, but the actual template don't.
Make sure you are using different compile_dir (template_c) directory
for each template dir. If force_compile is turned off, your templates
won't be recompiled and the old version will be used.
Bertrand