Zum Inhalt springen

text.field = title ausserhalb von PAGE

Erstellt am 23. Februar 2006 · Noch keine Antworten

Tags: Bilder, Frage

McFitz ·

Hallo,

ich bin noch neu in typo3, und hoffe die Frage ist nicht all zu doof. Ich habe überall gesucht, und leider keine infos gefunden.

Mein Problem:
Ich will den Titel im Gifbuilder benutzen, kann ihn aber nicht laden. Ich will das ausserhalb meines PAGE objektes machen, ich glaube da liegt das Problem.

Im Page objekt habe ich den Title schon mehrmal im GIFBUILDER benutzen können, nur ausserhalb wills nicht.
Hier der Code:

tt_content.text {
   template = FILE
   template.file = fileadmin/vorlage-content.html
   workOnSubpart = MAIN_CONTENT
   # Content Table Header
   marks.CONTENT_TITLE = IMAGE
   marks.CONTENT_TITLE.file = GIFBUILDER
   marks.CONTENT_TITLE.file {
            XY = 480, 22
            backColor = #FFFFFF
            
            # Hintergrundbild einlesen
            10 = IMAGE
            10.file = fileadmin/images/content_top.jpg
            10.file.width = 480
            10.offset = 0,0

            # Text auf Trailer
            30 = TEXT
            30.text.field = title
            30.fontFile = fileadmin/fonts/arialbd.ttf
            30.fontSize = 12
            30.fontColor = #FFFFFF
            30.niceText = 1
            30.offset = 60,17
            30.shadow.offset = 2,2
            30.shadow.color = #555555
   }
   # marks.CONTENT_TEXT =< tmp.20
   #marks.CONTENT_TITLE =< lib.stdheader
   marks.CONTENT_TEXT = COA
   marks.CONTENT_TEXT {

        20 =< lib.stdheader

        30 =< tmp.20
   }
}

hier ist die Zeile nochmal:
# Text auf Trailer
30 = TEXT
30.text.field = title
30.fontFile = fileadmin/fonts/arialbd.ttf

wie muss ich den Titel adressieren, das der erkannt wird?
Habe es schon mit {page:title} versucht, auf das ich im Internet immer mal wieder gestoßen bin, aber das ging auch nicht.