Re:Smarty 1.4.5 available

From: Date: Fri, 21 Sep 2001 13:16:30 +0000
Subject: Re:Smarty 1.4.5 available
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1507@lists.php.net to get a copy of this message
On Fri, 21 Sep 2001, Holger Bahr wrote: > I get those all the Time (error_reporting(63);) > > Warning: Undefined index: cookie in Smarty.class.php on line 589 > Warning: Undefined variable: compile_id in Smarty.class.php on line 818 > > it should be easy to assign default values to those two vars ?! > > Also, in the section loops i cannot assign variables in the section > 'header' (below, i want to assign sting "main/" to the var > "path"): > > does not work anymore: > {section name=main_windows loop=$main path="main/"} > {include file=$main[main_windows] main_title=$main_title[main_windows]} > {/section} > > this works now: > {section name=main_windows loop=$main} > {include file=$main[main_windows] main_title=$main_title[main_windows] > path="main/"} > {/section} > > I think the old notation had a better overview. Anyway .. Eh, you were never able to assign variables in the section tag.. It is just not supported by Smarty. -Andrei "Everything is a matter of a little programming" -- Rasmus Lerdorf

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