Re: Limit to {section}
| From: | Andreas Kossmeier | Date: | Fri, 16 Nov 2001 09:30:44 +0000 |
| Subject: | Re: Limit to {section} | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1923@lists.php.net to get a copy of this message | ||
LIMBOURG Arnaud wrote:
> Would it be possible to have a limit to the number of loop we want to
> do ? I use a template to navigate through a recordset, at the top of
> the page there are page numbers displayed to go directly to the page
> you want. [...]
> Would that be useful or am I completely out on this one ?
i had the same problem a few days ago. as a workaround you can use the
section index to determine wether to display or not.
in version 1.4.4 there was introduced an attribute named "start", so it
would be very useful, also to add a "limit" attribute.
andreas
--
andreas kossmeier
bergfex.at - http://www.bergfex.at