Re: Limit to {section}
| From: | anders dot janson at mailbox dot swipnet dot se | Date: | Fri, 16 Nov 2001 11:08:51 +0000 |
| Subject: | Re: Limit to {section} | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1926@lists.php.net to get a copy of this message | ||
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
-------------------------------------------------