Re: [SMARTY] default modifier

From: Date: Tue, 04 Mar 2003 18:32:16 +0000
Subject: Re: [SMARTY] default modifier
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8401@lists.php.net to get a copy of this message
If there are no special chars in the var name (.[]) then no backticks are necessary. Monte On Tue, 2003-03-04 at 12:25, Juzan Jean-Michel wrote: > Le mar 04/03/2003 à 19:17, Monte Ohrt a écrit : > > with the CVS version this should work: > > > > > > {$UrlRetour|default:"$smarty.server.PHP_SELF/?showmenu=$MenuID"} > > Great ! I mean it's better if I apply `` to MenuID ? > > {$UrlRetour|default:"$smarty.server.PHP_SELF?showmenu=$ú > ê!i{Dø)/í÷Ÿ½MenuID"} > > > > > On Tue, 2003-03-04 at 12:10, Juzan Jean-Michel wrote: > > > Le mar 04/03/2003 à 18:55, Juzan Jean-Michel a écrit : > > > > Hi, > > > > > > > > I need to know if it's right or not (work now) ? > > > > {$UrlRetour|default:"/menu/$MenuID/"} > > > > If yes, perhaps a good idea to add this example in the manual > > > > > > but this c1ode below not work > > > {$UrlRetour|default:"$smarty.server.PHP_SELF/?showmenu=$MenuID"} -- Monte Ohrt <monte@ispi.net>

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