TYPO3 Flow Base DistributionPackagesApplications

Feature #6459

Loop information inside a For loop

Added by Marc Neuhaus over 5 years ago. Updated almost 5 years ago.

Status:Closed Start date:2010-02-13
Priority:Could have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
Has patch: Tags:

Description

In the past i used the template engine h2o. One thing about the For loop i liked was the special var {loop} which was available in For loop which contains some information about the loop like:
*first
*last
*odd
*even
*current
*length
http://wiki.github.com/speedmax/h2o-php/built-in-tags

i made some changes to the ForViewHelper which adds this behavior. Would be cool if you could integrate it.

ForViewHelper.diff Magnifier (1.8 kB) Marc Neuhaus, 2010-02-13 20:45


Related issues

duplicates TYPO3.Fluid - Feature #6149: for: add iteration informations Resolved 2010-01-21

History

#1 Updated by Bastian Waidelich about 5 years ago

  • Tracker changed from Feature to Suggestion
  • Project changed from TYPO3.Fluid to Fluid - ViewHelper - Incubator

#2 Updated by Bastian Waidelich about 5 years ago

  • Tracker changed from Suggestion to Feature

#3 Updated by Bastian Waidelich about 5 years ago

  • Status changed from New to Closed

Hi Marc and thanks for your feedback!
I copied the comment and patch to #6149
Closing this ticket to avoid duplication.

Also available in: Atom PDF