Zum Inhalt springen

htmlarea und tags werden ausgegeben und nicht geparsed?!

Erstellt am 4. Februar 2005 · 1 Antwort · letzte Antwort am 6. Februar 2005

Tags: Inhaltselemente, Frage

bonanza ·

Hi hab folgenden Codeschnippsel in das Setup des Root Template kopiert. Leider werden HTML Tags nicht geparsed sondern im frontend als text angezeigt? Hat jemand ein Tip was ich falsch mache?
Gruß und Danke Jan

Hier der Code Schnippsel:

RTE.default.enableWordClean = 1

RTE. default.proc {
// TRANSFORMATION METHOD
overruleMode = ts_css

// LINES CONVERSION
dontConvBRtoParagraph = 1

// SPLIT CONTENT INTO FONT TAG CHUNKS
internalizeFontTags = 1

// TAGS ALLOWED OUTSIDE P & DIV
allowTagsOutside = img,hr

// TAGS ALLOWED IN TYPOLISTS
allowTagsInTypolists = br,font,b,i,u,a,img,span

// TAGS ALLOWED
allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, strike, a, img, nobr, hr, center, font

// TAGS DENIED
denyTags >

// ALLOWED P & DIV ATTRIBUTES
keepPDIVattribs = align,class,style

// ALLOW TABLES
preserveTables = 1

// CONTENT TO RTE
HTMLparser_rte {

// TAGS ALLOWED
allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, strike, a, img, nobr, hr, center, font

// DO NOT REMOVE UNMATCHED TAGS
keepNonMatchedTags = 1
}

// CONTENT TO DATABASE
HTMLparser_db {
// TAGS ALLOWED
allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, strike, a, img, nobr, hr, center, font

// DO NOT REMOVE UNMATCHED TAGS
keepNonMatchedTags = 1
}
}

bonanza ·

hab die lösung - lag aber an was ganz was anderem:
Dies einfach ins Template Setup kopieren...

# Tags die über den RTE erzeugt werden parsen und nicht als "Text" ausgeben
tt_content.text.20.parseFunc.denyTags =
tt_content.text.20.parseFunc.allowTags = *