[TYPO3-mvc] Fluid group results

Bastian Waidelich bastian at typo3.org
Tue Mar 19 10:28:02 CET 2013


Philipp wrote:

Hi Philipp,

> I loop thru my queryresults using the f:for viewhelper. Now - i want to
> group my results in blocks, so every 3 results should be wrapped in a
> html container. I cant just do something like if iteratior.index%3 <div>
> because then i get an xml parsing error.

What parsing error do you get and what fluid code did you try?
With the correct combination of f:for, iteration info and f:if it's 
definitely possible to achieve the above.


-- 
Bastian Waidelich
--
Core Developer Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-typo3v4mvc mailing list