Hallo zusammen,
ich erzeuge in allen Seiten eine Grafik mit dem Seitentitel. Bei der News Single Ansicht würde ich jetzt gerne den Titel der News nutzen, aber leider klappts nicht.
Mein Ansatz sieht folgendermaßen aus:
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:
| lib.heading = IMAGE lib.heading { file = GIFBUILDER file { XY = 620, 40 backColor = #FFFFFF 10 = TEXT 10 { text.data = page : title fontSize = 42 fontFile = fileadmin/fonts/BGOTHM.TTF fontColor = #8F8F8F offset = 0, 30 } } altText.data = page : title titleText.data = page : title } [globalVar = GP:tx_ttnews|tt_news > 0] lib.heading { file.20 = RECORDS file.20 { dontCheckPid = 1 tables = tt_news source.data = GPvar:tx_ttnews|tt_news conf.tt_news = TEXT conf.tt_news.field = title } file.10.text.data < lib.heading.file.20 } [global] |
Kann mir jemand auf die Sprünge helfen?
Danke
Peter