[FLOW3-general] Limit loop in ForViewHelper?
Jigal van Hemert
jigal.van.hemert at typo3.org
Mon Nov 5 21:35:19 CET 2012
Hi,
On 5-11-2012 16:57, François Suter wrote:
> I was under the impression that there was a way to limit the number of
> iterations performed in a Fluid for loop, but not according to the
> documentation nor the source code, unless I looked in the wrong place.
>
> Is this impression totally wrong or is there some way to achieve such a
> limitation?
One way to achieve it is to use an if-viewhelper to check the value of
the iterator.index.
--
Jigal van Hemert
TYPO3 Core Team member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the FLOW3-general
mailing list