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

Pablo Feldman pablofeldman90 at gmail.com
Mon May 11 22:24:09 CEST 2015


Hi,

With this it hides when it has data, and shows only empty

On Mon, May 11, 2015 at 5:02 PM, Jan Bednarik <info at bednarik.org> wrote:

> 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
>>
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list