[TYPO3-english] Re: TYPO3 6.2: TS condition based on content of media field

Romain Hobsterdre hobsty at gmail.com
Thu Nov 6 13:27:40 CET 2014


Hello,

It's been a while that I didn't used conditions in TS.
Why don't you try an "override" and an "ifEmpty".
link: docs.typo3.org/typo3cms/TyposcriptReference/Functions/Stdwrap/Index.html#stdwrap-override

[code]50 = IMAGE
50.file.import = xxxx
50.file.override.ifEmpty.field = media
50.file.override.cObject = TEXT
50.file.override.cObject.value = show my video
[/code]


I've found a snippet here : 
link: stackoverflow.com/questions/6109044/typo3-typoscript-how-to-make-a-fallback
I guess you can find others.


More information about the TYPO3-english mailing list