[TYPO3-english] Check if content slide is not empty

Pablo Feldman pablofeldman90 at gmail.com
Mon May 11 21:18:06 CEST 2015


Hi List,

I have this code:

*page.headerData.7 = TEXT*
*page.headerData.7.dataWrap = <meta property="keywords"
content="{levelfield : -1, keywords, slide}" />*
*page.headerData.7.if {*
*    value.field = keywords*
*    equals = *
*}*

this works great, bring the first parent with something in the field
keywords.
But if no parent has the field with data, is there a way to prevent the
write of that line?

Thanks in advance


More information about the TYPO3-english mailing list