Hallo Marvin, vielleicht hilft das hier (Fallbackbild ungetestet)
lib.bild = FILES lib.bild { references { table = pages uid.data = page:uid fieldName = media } begin = 0 maxItems = 1 renderObj = IMAGE renderObj { file.import.data = file:current:publicUrl altText.data = file:current:alternative titleText.data = file:current:title } stdWrap.ifEmpty.cObject = IMAGE stdWrap.ifEmpty.cObject.file = Dateipfad Standardbild } Viele Grüße Alex Am 22.03.2017 um 11:54 schrieb Marvin:
Hallo zusammen, wie löse ich folgendes Typoscript (falls typoscript das überhaupt kann). Natürlich funktioniert das nicht, aber zur Veranschaulichung: lib.slideshow = COA lib.slideshow.10 = CONTENT lib.slideshow.10 { table = tt_content select { where = uid = 1 } if.isTrue.10.empty if.isTrue.10.file { import.data = levelmedia:-1, slide treatIdAsReference = 1 import.listNum = 0 params = class="responsive-img" } } _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
-- _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german