Re : [SMARTY] 2 questions

From: Date: Tue, 11 Feb 2003 12:50:06 +0000
Subject: Re : [SMARTY] 2 questions
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7636@lists.php.net to get a copy of this message
To answer your first question, here's what I do: {if $variable}...{/if} Philippe. "James Burrows" <james@itsa.me.uk> le 11/02/2003 12:59:48 Veuillez répondre à "James Burrows" <james@itsa.me.uk> Pour : <smarty-general@lists.php.net> cc : (ccc : Philippe MORANGE/EST/DOSI/BANQUE_INDOSUEZ/FR) Objet : [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

« previous php.smarty.general (#7636) next »