Re: [SMARTY] switch substitute
| From: | Andr� Rabold | Date: | Mon, 07 Oct 2002 13:57:40 +0000 |
| Subject: | Re: [SMARTY] switch substitute | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6102@lists.php.net to get a copy of this message | ||
I have just added this to the Smarty Wiki FAQ ;-)
"Josh Johnson" <mailing_lists@allusiveimage.com> schrieb im Newsbeitrag
news:000001c26d38$2e1305f0$8b00a8c0@manpa...
> I should say RTFM, but when you specify a smarty variable, even the
> special $smarty.get variable, inside of another template function (like
> include), you just drop the delimiters ({}), so it would be:
> {include file=$smarty.get.var}
>
> You really should read through the docs before you ask questions, this
> is stressed over and over there. :)
> -- Josh
>
> -----Original Message-----
> From: Eskil Kvalnes [mailto:eskil@uten.net]
> Sent: Saturday, October 05, 2002 9:05 PM
> To: Smarty Mailing List
> Subject: [SMARTY] switch substitute
>
> Is it possible to do: {include file={$smarty.get.var}}?
>
> Or is there any other way of using switch() with templates?
>
> ---------------
> Sincerely,
> Eskil Kvalnes
> eskil@uten.net
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>