[TYPO3-english] Check if content slide is not empty
Jan Bednarik
info at bednarik.org
Mon May 11 22:02:33 CEST 2015
Hi,
p = TEXT
p.wrap = <meta property="keywords" content="|" />
p.data = levelfield : -1, keywords, slide
p.required = 1
Jan
Dne 11. 5. 2015 v 21:18 Pablo Feldman napsal(a):
> 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