Re: Idle thoughts on dealing with the "multiple compiled template directory issue"
| From: | Monte Ohrt | Date: | Thu, 08 Mar 2001 19:33:21 +0000 |
| Subject: | Re: Idle thoughts on dealing with the "multiple compiled template directory issue" | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-348@lists.php.net to get a copy of this message | ||
The first problem that comes to mind is if you are including templates
that include each other. Since they would know nothing about the alias
mapping this wouldn't work right. I'll have to just do some testing and
see what I come up with.
Jim Harlindong wrote:
>
> Hey, does this idea work on 1.3.1?
>
> This is rather cool !
>
> > -----Original Message-----
> > From: mohrt@basie.ispi.net [mailto:mohrt@basie.ispi.net]On Behalf Of
> > Monte Ohrt
> > Sent: Thursday, 8 March 2001 10:05 AM
> > To: clayton collie
> > Cc: smarty@lists.ispi.net
> > Subject: [smarty] Re: Idle thoughts on dealing with the "multiple
> > compiled template directory issue"
> >
> >
> > I got your point, but you might have missed mine :-)
> > If you look in the list archive, you will see this idea:
> >
> > $template_dir = (array("/path/to/templates1" => "/path1",
> > "/path/to/templates2" => "/path2",
> > "/path/to/templates3" => "/path3");
> >
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/