RE: including templates from other dir
| From: | Jim Harlindong | Date: | Tue, 20 Feb 2001 23:52:09 +0000 |
| Subject: | RE: including templates from other dir | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-167@lists.php.net to get a copy of this message | ||
Here is my situation about templates dir...
I have scripts in two directories, say /finance and /finance/admin
they both use the same template, however since it is accessing relative path
under itself, i.e. finance/templates and finance/admin/templates
respectively, what I have to do is to duplicate the two template
directories.
Maybe it would be good to have a global setting that says
$smarty->template_path = '/home/me/www/templates';
Or maybe this is already supported?? :)