[TYPO3-german] fluid condition

Seidel, Christopher c.seidel at ITM-Group.com
Mon Feb 6 09:45:00 CET 2012


<f:if condition="<f:count>{object}</f:count>">

</f:if>

Viele Grüße

Christopher 

-----Ursprüngliche Nachricht-----
Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-bounces at lists.typo3.org] Im Auftrag von Tobias Rücker
Gesendet: Samstag, 4. Februar 2012 14:52
An: typo3-german at lists.typo3.org
Betreff: [TYPO3-german] fluid condition

Hello,

I get a object from the repository  with some records.  On a condition I will check if the object is empty or not. 

How can count the records or check is not NULL. 

In the example I get alway "not empty". 


<f:if condition="{object}">
 <f:then>

   not empty

</f:then>
<f:else>

empty

</f:else>
</f:if>


thanks 
Tobias
_______________________________________________
TYPO3-german mailing list
TYPO3-german at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german


More information about the TYPO3-german mailing list