[TYPO3-mvc] How to use If-ViewHelper with other than true/false

Steffen Kamper info at sk-typo3.de
Sun Jun 7 22:04:17 CEST 2009


Hi,

> 
> when you look to source you'll find this:
> 
>  * <f:if condition="somecondition">
>  *   This is being shown in case the condition matches
>  * </f:if>
> 
> so syntax should be
> <f:if condition="{product.abc == 1}">
> 

nope :-)

looking again i found out that the class 
Tx_Fluid_ViewHelpers_ThenViewHelper is missing, so no if-condition will 
work!

vg Steffen


More information about the TYPO3-project-typo3v4mvc mailing list