Re: [SMARTY] 2 questions
| From: | Jason Sweat | Date: | Tue, 11 Feb 2003 12:24:10 +0000 |
| Subject: | Re: [SMARTY] 2 questions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7635@lists.php.net to get a copy of this message | ||
Hi James,
answer to 2)
http://smarty.php.net/manual/en/language.function.insert.php
Jason
----- Original Message -----
From: "James Burrows" <james@itsa.me.uk>
To: <smarty-general@lists.php.net>
Sent: Tuesday, February 11, 2003 5:59 AM
Subject: [SMARTY] 2 questions
> Hi there,
>
> 1) Is there any way to test if a smarty variable exists from within a
> template?
>
> I know you can do {if $variable != ""}...{/if} but surely there's a better
> way than this?
>
>
> 2) Is there any way to include a non-cached template within a cached
> template?
>
>
> Thanks for your help!
>
> James
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>