[TYPO3-german] nonTypoTagStdWrap
Florian Liese
f.liese at gmx.de
Wed Jun 14 09:12:55 CEST 2006
Hallo,
wie bekomme ich mein Template so konfiguriert, dass Zelleninhalte
einer Tabelle (<td>...</td>) nicht durch den nonWrappedTag
umschlossen werden?
Ich hab sowas auf einer Seite gefunden:
# Sicherstellen, dass nonTypoTagStdWrap nur im Inhalt außerhalb von
<typolist> und <typohead> arbeitet:
tt_content.text.20.parseFunc.tags.typolist.breakoutTypoTagContent = 1
Analog hab ich es mit
tt_content.text.20.parseFunc.tags.table.breakoutTypoTagContent = 1
oder
tt_content.text.20.parseFunc.tags.td.breakoutTypoTagContent = 1
probiert, allerdings ohne Erfolg.
Hier der gesamte Abschnitt meines Root-Templates:
----------------------------------------------------------------------
# Sicherstellen, dass nonTypoTagStdWrap nur im Inhalt außerhalb von
<typolist> und <typohead> arbeitet:
tt_content.text.20.parseFunc.tags.typolist.breakoutTypoTagContent = 1
tt_content.text.20.parseFunc.tags.typohead.breakoutTypoTagContent = 1
# ... und kein <BR> vor dem typohead.
tt_content.text.20.parseFunc.tags.typohead.stdWrap.wrap >
tt_content.text.20.parseFunc.nonTypoTagStdWrap >
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines {
encapsTagList = div,p
nonWrappedTag = p
addAttributes.P.class >
innerStdWrap_all.ifEmpty =
innerStdWrap_all.textStyle < tt_content.text.20.textStyle
}
# Schließlich noch Entfernen der alten textstyle-Formatierung des
gesamten Haupttextes.
tt_content.text.20.textStyle >
# ... und der <BR>-Tag nach dem Inhalt wird auch nicht mehr gebraucht...
tt_content.text.20.wrap >
----------------------------------------------------------------------
Auch wenn ich den Tag "td" noch zu Zeile encapsTagList hinzufüge, tut
sich nichts.
Kann mir da jemand nen Tipp geben?
Danke und Gruß,
Florian Liese
More information about the TYPO3-german
mailing list