'Default' template directory?
| From: | Andreas Goetz | Date: | Thu, 26 Feb 2004 15:24:27 +0000 |
| Subject: | 'Default' template directory? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11028@lists.php.net to get a copy of this message | ||
I've developing a component (phpApplet) based on Smarty, it is using a set
of template files. Based on this component I have several applications using
it, each requires some simple tweaks of of or the other template file.
Now, is it possible to have a second template directory that contains only
modified versions of the original template files, e.g. have Smarty look into
the application-specific folder first and into the default template folder
only if the requried template file is not found there?
I think what I'm looking for is an array of template directories, providing
the search order?
Best regards,
Andreas Goetz
cpuidle@gmx.de
http://www.cpuidle.de