kein problem Typoscript-Code: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54:
| temp.img = RECORDS temp.img { if.isTrue.data = GPvar:tx_ttnews|tt_news source.data = GPvar:tx_ttnews|tt_news tables = tt_news conf.tt_news = COA conf.tt_news { 10 = IMAGE 10 { file { import = uploads/pics/ import.field = image import.listNum = 0 width = 800 height = 370 } titleText.field = title altText.field = title } } } temp.imgPageProperties = IMAGE temp.imgPageProperties{ file.import = uploads/media/ file.import.data = levelmedia:-1, slide file.import.listNum=0 } lib.banner = COA lib.banner { 10 = COA 10 { if.isTrue.cObject < temp.img 30 < temp.img } 20 = COA 20 { if.isFalse.cObject < temp.img 30 < temp.imgPageProperties } } |
georg |