Re: displaying unassigned variables

From: Date: Fri, 09 Feb 2001 17:25:17 +0000
Subject: Re: displaying unassigned variables
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-105@lists.php.net to get a copy of this message
Monte Ohrt wrote:
Currently, if you attempt to display an unassigned variable in Smarty, it simply displays nothing in place of the tag. Would there be any benefits to anyone if there was an option to display nothing, display an error, or just display the tag? I've seen other template engines do this, but I'm not sure of its usefullness.
Why not choose between : - displays nothing - display an error - display a comment in the HTML code Sylvain /* In a world without walls and borders, who needs windows and gates ? */

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