Zum Inhalt springen

parseFunc in tabellen geht nicht :-(

Erstellt am 19. August 2004 · Noch keine Antworten

Tags: Frage

spiky ·

Hi,
ich versuche immernoch
Bilder in Tabellen anzulegen.

Dazu habe ich mir mal die
parseFunc
angeschaut.

Ich möchte mit <GRAFIX>bla</GRAFIX> Bilder mit dem Text 'bla' einfügen. Das geht in einem Text-Content-Element, aber nicht in einer Tabelle. Aber letzteres brauche ich unbedingt!

Hier das Typoscript-Template:

tt_content.text.20.parseFunc {
  tags {
    bild = IMAGE
    bild {
      file.import = fileadmin/
      file.import.current = 1
    }
    grafix = IMAGE
    grafix {
      file = GIFBUILDER
      file {
        XY = 90,10
        100 = TEXT
        100.text.current = 1
        100.offset = 5,10
        100.nicetext = 0
      }
    }
    externalBlocks.table {
      HTMLtableCells = 1
      HTMLtableCells.default {
        callRecursive = 1;
      }
      stripNL=1
      stdWrap.HTMLparser = 1
      stdWrap.HTMLparser {
        tags.table.overrideAttribs = border=0 cellpadding=2 cellspacing=1 style="margin-top:10px; margin-bottom:10px;"
        tags.tr.allowedAttribs=0
        tags.td.overrideAttribs = valign=top bgcolor="#eeeeee" style="font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;	font-size : 10px;"
      }
    }
  }
}

# Default PAGE object:
page = PAGE
page.typeNum = 0
page.10 < styles.content.get

Fazit: ich kriegs nicht hin 🙁 (in Tabellen, im Text Element gehts wunderbar)
hat jemand damit Erfahrung? Wie geht's? Was mache ich falsch? Hier guckst Du Webseite:

http://typo3dev.hauptsache.net/index.php?id=107

Danke für jeden Tipp!
Chris

NACHTRAG:

Auch damit gehts nicht:

tt_content.table.20.parseFunc < tt_content.text.20.parseFunc