Changing Templates

From: Date: Wed, 16 Oct 2002 10:28:05 +0000
Subject: Changing Templates
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6174@lists.php.net to get a copy of this message
Hi I have made a site, and I am using smarty templates for the design. I have created a templates dir in the web root and created folders in side it named template1, template2, template3 and so on. Now the idea is that I can change the template path in my site and the site will just switch to another template (skinning). This sort of works, but is behaving strangely. When I change the template path in my setup.php file that I have. It don't change the site design until the templates are edited. I thought this was a caching problem so I turned this feature off. but that had no effect. The caching works when I turn it off because any database stuff gets updated, but the actual template don't. Does any one know what I am doing wrong here. Thanks for you help ------------------- Cameron Cooke Toucan Resolve Ltd. toucan@tiscali.co.uk

« previous php.smarty.general (#6174) next »