RE: [SMARTY] using smarty across many projects
| From: | Jeff Eidsness | Date: | Wed, 15 Jan 2003 18:03:22 +0000 |
| Subject: | RE: [SMARTY] using smarty across many projects | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7198@lists.php.net to get a copy of this message | ||
well, i did in fact read the documentation, and the extended install
portion, which is why i was originally confused. it made no sense to
me i'd need extra directories for subdirectories.
So if i understand everything correct, when i have a multi-directory
site/app (thing), i will need to have several template_c directories,
because subdirs are likely to have an index.php|html just like the
parent.
Is this correct?
--
Jeff Eidsness - CIO / Site manager
JnJ International Data, LLC - http://www.jnjid.com/
On Wed, 15 Jan 2003 07:06:14 -0700, Hoffman, Geoffrey wrote:
>I think your situation is one of the main reasons for the example
>'extended
>setup' --
>http://smarty.php.net/manual/en/installing.smarty.extended.php.....
>make each app a separate class that extends smarty, each with its
>own set of
>directories...
>you could do something like:
>
>/home/smarty/templates/app1
>/home/smarty/templates/app2
>
>or
>
>/home/smarty/app1/templates
>/home/smarty/app2/templates
>
>HTH-
>Geoff
>
>JE> do i need a separate group of dirs (template_c, config,
>JE> cache etc)
>JE> for each site? will it keep all the index.php templates separate
>for
>JE> the different sites?
>