Re: loop
| From: | Ivo Jansch | Date: | Fri, 30 Mar 2001 07:30:46 +0000 |
| Subject: | Re: loop | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-503@lists.php.net to get a copy of this message | ||
Hi,
Andrei Zmievski wrote:
> Hmm, yes, I see how you use it here. I don't know if I really like the
> usage of default attribute this way, we'll probably add this to the list
> of things to think about though.
I do it mainly to make life easier for the template editors. For
example, they make a template for a newsitem, and all they know is that
a newsitem has a title, some text and an image. They need not know the
datastructure or section in which the newsitem is nested.
Greetings,
Ivo
--
Ivo Jansch <ivo@ibuildings.nl>
ibuildings.nl BV - information technology
http://www.ibuildings.nl