Re: [SMARTY] Changing Templates
| From: | Cameron Cooke | Date: | Wed, 16 Oct 2002 13:23:06 +0000 |
| Subject: | Re: [SMARTY] Changing Templates | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6178@lists.php.net to get a copy of this message | ||
Thanks that worked.
Thank you for your help.
Cameron.
"Bertrand Dunogier" <bdunogier@wanadoo.fr> wrote in message
news:136532297328.20021016134652@wanadoo.fr...
> 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
>