[TYPO3-english] A boolean expression has more than tree parts ?

"HocomAdvies [  Wiechert Hooghwinkel "HocomAdvies [  Wiechert Hooghwinkel
Thu Nov 19 14:07:45 CET 2015


I try to use a viewhelper in a template but I get #1244201848: A boolean expression has more than tree parts. in return.

 
<f:if condition="{data.subtitle} {data.uid} ==1">
                <f:then>Show Nothing</f:then>
                <f:else>
                    <f:if condition="{data.subtitle}">
                        <f:then><f:format.html><h2>{data.subtitle}</h2></f:format.html></f:then>
			 <f:else><h1>{pageTitle}</h1></f:else>
                    </f:if> 
                </f:else>
            </f:if>   


First condition: 
if the page pid = 1 than do not nothing.
else if the pid is higher than 1 and there is a subtitle   
than use that 
else use the pageTitle


So the part from the second condition is working. But combined with the data.uid it gives the error. What’s wrong here?


Best regards,
Hocomadvies

Wiechert Hooghwinkel



More information about the TYPO3-english mailing list