Back to top Back to top
Light Dark

TYPO3 fluid

{_all->f:debug(title:'_all')}

<f:comment> this is comment </f:comment>
for loop
<f:for each="{posts}" as="post" key="key" iteration="iterator"> {post} </f:for>

if condition
<f:if condition="{condition}">
  <f:then> do this </f:then>
  <f:else> do that </f:else>
</f:if>

{f:if(condition:'{iterator.cycle} == 1',then:'active',else:'test')} translate

<f:translate
  key="{msg_id}"
  arguments="{1: '{f:format.date(date: record.validend, format: \'d.m.Y H:i:s\')}'}"
/>