[TYPO3-english] f:for inline

Christian Tauscher christian.tauscher at media-distillery.de
Fri Apr 25 18:16:53 CEST 2014


Hello my dear Fluid Develpers

I have serveral items.
Each Item my have one ore more categories.

The Categories(uid) shpuld be used as CSS-class
I have a ViewHelper: a given integer is returnd as a class name.


<f:for each="{offers}" as="offer">
   <li class="{f:for-dontknow.. ***}">

*   <f:for each="{offer.categories}" as="item">
*      <tmd:IntToClass uid="{uid}" />
*   </f:for>

   </li>
</f:for>


how do I get this *** inline, so that my classes are rendered correct?

Ist there a way through partials?


Thanks a lot for your help,

Christian.


More information about the TYPO3-english mailing list