Re: Limit to {section}

From: Date: Fri, 16 Nov 2001 14:24:07 +0000
Subject: Re: Limit to {section}
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1927@lists.php.net to get a copy of this message
It's in the docs now :-) will be there for the next release. anders.janson@mailbox.swipnet.se wrote: > > Date: Fri, 16 Nov 2001 12:08:51 +0100 > MIME-Version: 1.0 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 8bit > > LIMBOURG Arnaud wrote: > > > > > So my point would be to have something like > > {section name=mysec loop=$myvar limit=10} > > > > Would that be useful or am I completely out on this one ? > > I asked for it in June, and it has been implemented since v 1.4.4. There is an attribute called > "max" ("limit" would have been more logical!). > It STILL hasn't been documented.... :) > > /Anders > > ------------------------------------------------- > WebMail från Tele2 http://www.tele2.se > ------------------------------------------------- > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

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