[TYPO3-german] Typo3 4.0: nach Konfigänderung rtehtmlarea kein mod.shared.colpos_list mehr
Kai Meuschke [mek@i]
service at mekai.de
Thu May 18 12:57:41 CEST 2006
Hallo,
habe gerade erfolgreich Typo3 3.6.2 auf Typo3 4.0 migriert. Für alle die,
die das interessiert: es geht also.
Ein Problem habe ich mit der Page TS config. Nach der Konfiguration vom RTE
habe ich jetzt trotz Einsatz von mod.SHARED.colPos_list = 0 alle 4 Spalten
(Links, Normal, Rechts, Border) im Backend zur Anzeige.
Was kann an der nachfolgenden Konfig falsch sein ?
Page TS:
# RTE Einstellungen
TCEFORM.tt_content.bodytext.RTEfullScreenWidth = 100%
RTE.default {
contentCSS = fileadmin/Templates/vvv/vvv.css
disabled = 0
disableColorPicker = 1
showStatusBar = 0
colors = color1, color2, color3,color4,noColor
hideButtons = blockstyle, textstylelabel,
textstyle,formatblock,fontstyle,fontsize, subscript, superscript,
lefttoright, righttoleft, left, center, right, justifyfull, bgcolor,
emoticon, textindicator, insertcharacter, user, acronym, inserttag
showButtons = bold, italic, underline, strikethrough, orderedlist,
unorderedlist, outdent, indent, chMode, textcolor, line, link, image, table,
findreplace, spellcheck, removeformat, copy, cut, paste, undo, redo,
showhelp, about, toggleborders, tableproperties, rowproperties,
rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore,
columninsertafter, columndelete, columnsplit, cellproperties,
cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
# Tabellen Editierungs-Optionen (cellspacing/ cellpadding / border)
disableSpacingFieldsetInTableOperations = 0
disableAlignmentFieldsetInTableOperations = 0
disableColorFieldsetInTableOperations = 0
disableLayoutFieldsetInTableOperations = 0
disableBordersFieldsetInTableOperations = 0
IgnoreMainStyleOverride = 1
proc {
dontConvBRtoParagraph = 1
preserveTables = 1
overruleMode = ts_css
allowTags (a, abbr, acronym, address, blockquote, b, br, caption, cite,
code, div, em, h1, h2, h3, h4, h5, h6, hr, i, img, li, link, ol, p, pre, q,
sdfield, span, strong, sub, sup, table, tbody, td, th, tr, tt, ul )
allowTagsOutside < RTE.default.proc.allowTags
denyTags >
keepPDIVattribs = xml:lang
entryHTMLparser_db = 1
entryHTMLparser_db {
# TAGS ALLOWED
# Always use the same list of allowed tags.
allowTags < RTE.default.proc.allowTags
# TAGS DENIED
# Make sure we can set rules on any tag listed in allowTags.
denyTags >
# AVOID CONTENT BEING HSC'ed TWICE
htmlSpecialChars = 0
tags {
# REMOVE IMG TAGS
img.allowedAttribs = 1
img.rmTagIfNoAttrib = 0
# CLEAN ATTRIBUTES ON THE FOLLOWING TAGS
span.fixAttrib.style.unset = 1
p.fixAttrib.align.unset = 1
div.fixAttrib.align.unset = 1
hr.allowedAttribs = class
b.allowedAttribs = xml:lang
blockquote.allowedAttribs = xml:lang
cite.allowedAttribs = xml:lang
em.allowedAttribs = xml:lang
i.allowedAttribs = xml:lang
q.allowedAttribs = xml:lang
strong.allowedAttribs = xml:lang
sub.allowedAttribs = xml:lang
sup.allowedAttribs = xml:lang
tt.allowedAttribs = xml:lang
}
removeTags = font, o:p, sdfield
keepNonMatchedTags = protect
}
HTMLparser_db {
# STRIP ALL ATTRIBUTES FROM THESE TAGS
# If this list of tags is not set, it will default to:
b,i,u,br,center,hr,sub,sup,strong,em,li,ul,ol,blockquote,strike.
# However, we want to keep xml:lang attribute on most tags and tags from
the default list where cleaned on entry.
noAttrib = br
# XHTML COMPLIANCE
# Note that applying xhtml_cleaning on exit would break non-standard
attributes of typolink tags
xhtml_cleaning = 1
}
exitHTMLparser_db = 1
exitHTMLparser_db {
# REMAP B AND I TAGS
# b and i tags are used by Mozilla/Firefox in editing mode.
# This must be done on exit because the default HTMLparser_db parsing
executes the reverse mapping.
tags.b.remap = strong
tags.i.remap = em
# KEEP ALL TAGS
# Unwanted tags were removed on entry.
# Without this rule, the parser will remove all tags! Presumably, this
rule will be more efficient than repeating the allowTags rule
keepNonMatchedTags = 1
# AVOID CONTENT BEING HSC'ed TWICE
htmlSpecialChars = 0
}
}
}
RTE.default.FE < RTE.default
RTE.config.tt_content.bodytext >
RTE.config.tt_content.bodytext.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.text.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.textpic.proc.overruleMode = ts_css
RTE.classesAnchor {
externalLink {
image >
}
internalLink {
image >
}
externalLinkInNewWindow {
image >
}
internalLinkInNewWindow {
image >
}
download {
image >
}
mail {
image >
}
}
RTE.colors {
color1 {
name = Rot
value =
}
color2 {
name = Mittelgrün
value =
}
color3 {
name = Hellgrün
value =
}
color4 {
name = Dunkelgrün
value =
}
noColor {
name = Keine Farbe
value =
}
}
# Labels ändern im RTE (Rahmen)
TCEFORM.tt_content.section_frame {
altLabels.20 = Rahmen hervorheben
altLabels.21 = Rahmen Highlight
#addItems.7 = Meldung
removeItems = 10
}
# Welche Spalten zur Eingabe (1= Links, 0= Normal, 2= Rechts, 3= Rand)
mod.SHARED {
colPos_list=0
defaultLanguage.title = Deutsch
defaultLanguage.flag = de.gif
}
mod.web_layout.tt_content.colPos_list = 0
TCEFORM.tt_content.colPos.removeItems = 1,2,3
Danke !
Mit freundlichen Grüßen
Kai Meuschke
mek at i
Rudolf- Breitscheid- Str. 44
98666 Masserberg OT Heubach
Tel.: +49 (0) 36874 71000
Fax: +49 (0) 36874 70999
More information about the TYPO3-german
mailing list