Re: [SMARTY-GENERAL] template name from template
| From: | Andrei Zmievski | Date: | Wed, 03 Apr 2002 16:33:03 +0000 |
| Subject: | Re: [SMARTY-GENERAL] template name from template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3462@lists.php.net to get a copy of this message | ||
$smarty.template has been added.
On Tue, 02 Apr 2002, Bertrand DUNOGIER wrote:
> Hi,
>
> is there a way to access the template path / name from the template
> itself ? I have a recursive template and i just spent one hour
> searching why it didn't work the way i expected, just because i copied
> the file to a new name and didn't change my include line... so is
> there any $smarty.something variable for that ?
>
> Bertrand
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
-Andrei
As I was going up the stair, I met a man who wasn't there.
He wasn't there again today. I wish, I wish he'd stay away.
-Hughes Mearns