[TYPO3-english] why is this condition snippet not working anymore?

"HocomAdvies [  Wiechert Hooghwinkel "HocomAdvies [  Wiechert Hooghwinkel
Wed May 17 15:52:59 CEST 2017


Hi, 

I have this snippet working in a TYPO3 7.6 template. And that works fine. Now I want ti use it for a new template in a TYPO3 7.6.18 and it is not working anymore? So, has anything changed? 

This is the code part:


<f:if condition="{data.subtitle}">
        <f:then><div class="header_info_1"> <f:format.html><h2>{data.subtitle}</h2></f:format.html></div></f:then>
        <f:else><div class="header_info_2"><f:format.html><h2>{pageTitle}</h2></f:format.html></div></f:else>
 </f:if>

Also the <div class=“header_info_1”> is exposed all the time? 

So why is it not working (any more).

Regards,

Wiechert Hooghwinkel


More information about the TYPO3-english mailing list