Re: [SMARTY] template dirs
| From: | messju mohr | Date: | Wed, 26 Nov 2003 11:58:50 +0000 |
| Subject: | Re: [SMARTY] template dirs | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10600@lists.php.net to get a copy of this message | ||
On Wed, Nov 26, 2003 at 11:42:48AM +0000, Helder Rossa wrote:
> hi,
>
> is it possible to have a structured template directories in the smarty
> template dir?
>
> example:
>
> + templates
> ---- main.html
> ----+ section_a
> --------- template_x.html
> ----+ section_b
> --------- template_y.html
>
>
> $smarty->display("section_a/template_y.html");
despite the fact that "template_y" is in "section_b" in your example,
it should work just like you describe.
> it seams that i cant display templates inside directories in the
> template dir.