
14.03.06, 10:47
|
| TYPO3 Forum Team Moderator | | Registriert seit: 01.12.05 Ort: Kiel Alter: 38
Beiträge: 1.998
| |
moin Zitat:
How to get rid of the <p class=”bodytext”> wrap ?
Add one of the following lines to your TS-Setup field:
# this will remove the complete <p> tag from all news content elements
plugin.tt_news {
general_stdWrap {
parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag >
}
}
# this will remove the complete <p> tag from ALL content elements
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.nonWrappedTag >
# this line will remove only the “bodytext” class from ALL content elements
# the <p> tag will be still rendered
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
|
__________________ Nichts kommt von selbst, sogar eine Dummheit muss man erst machen.
Tipps und Tricks zu TYPO3: http://typo3.intervation.de |