[TYPO3-german] image aus tt_content verwenden, aber wie?

Frank Kübler mail at fkuebler.de
Sat Feb 18 22:50:17 CET 2006


Hi Zusammen.

Folgendes Problem:
Ich möchte mein image aus tt_content in meinem hübschen Template 
Anzeigen. Bild anzeigen ist kein Problem mit einem Festen Bild geht das. 
Aber meine Frage ist wie ich jetzt das feld image in tt_content so 
anspreche, bzw da einbaue, dass dieses Bild angezeigt wird?

Hier der Code:


inhalt = CONTENT
inhalt.table = tt_content
inhalt.select.orderBy = sorting
inhalt.select.where = colPos = 0
tt_content = CASE
tt_content {
  key.field = header_layout

  default = COA
  default {
   10 = TEMPLATE
   10.template = FILE
   10.template.file = fileadmin/template/layout_0.txt
   10.workOnSubpart = BEREICH
   10.marks.HEADLINE = TEXT
   10.marks.HEADLINE.field = header
   10.marks.TEXT = TEXT
   10.marks.TEXT.field = bodytext
   10.marks.BILD = IMAGE
   10.marks.BILD.file = fileadmin/stein.jpg # hier soll dann das image 
aus tt_content rein.
   10.marks.BILD.file.width = 180
  }

}


Gruß
FRANK



More information about the TYPO3-german mailing list