RE: [SMARTY-GENERAL] template name from template
| From: | Romain GOUYET | Date: | Wed, 03 Apr 2002 17:24:15 +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-3463@lists.php.net to get a copy of this message | ||
Thank You very munch, I'll use it too !
Best regards
Romain GOUYET
-----Message d'origine-----
De : Andrei Zmievski [mailto:andrei@ispi.net]
Envoyé : mercredi 3 avril 2002 18:33
À : Bertrand DUNOGIER
Cc : smarty-general@lists.php.net
Objet : Re: [SMARTY-GENERAL] template name from template
$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
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php