|
Wenn man auf seiner Typo Seite gerne das aktuelle Datum angezeigt haben möchte, benötigt man einen Platzhalter im HTML Code (zB. ###DATE###) und folgenden Typoscript code für die Textanzeige:
marks.DATE = COA marks.DATE { 10 = TEXT 10.data = date:U 10.strftime = %A, %e. %B %Y }
oder für die graphische Anzeige:
marks.DATE = IMAGE marks.DATE.file = GIFBUILDER marks.DATE.file { reduceColors = 8 XY = 150, 20 backColor = {$color1} 10 = TEXT 10.text.data = date:U 10.text.strftime = %A, %e. %B %Y 10.fontSize = 8 10.fontColor = {$color2} 10.offset = -1, 13 10.align = right 10.fontFile = t3lib/fonts/verdana.ttf 10.niceText = 1 }
$color1 und $color2 sind in diesem Fall Konstanten für die Farben des Textes. 
Letzte Änderung: 19:09 29/07 2005
|