Created
April 3, 2014 07:52
-
-
Save tan3/9950099 to your computer and use it in GitHub Desktop.
TYPO3: tsconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------------------------------------------------------- | |
# Sprachen + Spalten | |
# ----------------------------------------------------------------- | |
mod.SHARED { | |
defaultLanguageFlag=de | |
defaultLanguageLabel=Deutsch | |
} | |
# ----------------------------------------------------------------- | |
# Rechte für Benutzergruppe 'global' | |
# ----------------------------------------------------------------- | |
TCEMAIN.permissions { | |
groupid = 1 | |
group = show, editcontent, edit, delete, new | |
everybody = | |
} | |
# bei seiten kopieren nicht (kopie) und unsichtbar | |
TCEMAIN.table { | |
pages.disablePrependAtCopy = 1 | |
pages.disableHideAtCopy = 1 | |
tt_content.disablePrependAtCopy = 1 | |
} | |
# ----------------------------------------------------------------- | |
# Entfernt die Auswahlmöglichkeit "Keins" | |
# für Redakteure beim Backend-Layout | |
# ----------------------------------------------------------------- | |
TCEFORM.pages.backend_layout_next_level.removeItems= -1 | |
TCEFORM.pages.backend_layout.removeItems= -1 | |
# ----------------------------------------------------------------- | |
# Inhalt der Layout-Selectbox bei Content Elementen | |
# ----------------------------------------------------------------- | |
TCEFORM.tt_content { | |
layout { | |
altLabels.0 = normal | |
} | |
header_layout { | |
removeItems = 0,4,5 | |
altLabels.1 = Überschrift 1 (h1) | |
altLabels.2 = Überschrift 2 (h2) | |
altLabels.3 = Überschrift 3 (h3) | |
} | |
header_link.disabled = 1 | |
header_position.disabled = 1 | |
image_compression.disabled = 1 | |
image_effects.disabled = 1 | |
image_frames.disabled = 1 | |
longdescURL.disabled = 1 | |
spaceBefore.disabled = 1 | |
spaceAfter.disabled = 1 | |
section_frame.disabled = 1 | |
sectionIndex.disabled = 1 | |
text_properties.disabled = 1 | |
text_align.disabled = 1 | |
text_face.disabled = 1 | |
text_size.disabled = 1 | |
text_color.disabled = 1 | |
linkToTop.disabled = 1 | |
fe_group.disabled = 1 | |
hidden.disabled = 1 | |
} | |
# ----------------------------------------------------------------- | |
# RTE | |
# ----------------------------------------------------------------- | |
RTE { | |
classesAnchor.mail.titleText > | |
classesAnchor.externalLinkInNewWindow.titleText > | |
classesAnchor.externalLink.titleText > | |
classesAnchor.internalLink.titleText > | |
classesAnchor.download.titleText > | |
default { | |
contentCSS = fileadmin/templates/css/rte.css | |
buttons.pastetoggle.setActiveOnRteOpen = true | |
showButtons := addToList(pastetoggle) | |
#proc.allowedClasses := addToList(infobox,button,small) | |
buttons { | |
# blockstyle.tags.div.allowedClasses = align-left, align-center, align-right | |
# blockstyle.tags.p.allowedClasses = align-left, align-center, align-right, small | |
# blockstyle.tags.ul.allowedClasses = infobox | |
# link.properties.class.allowedClasses := addToList(button) | |
formatblock.removeItems = article, aside, div, footer, header, h4, h5, h6, nav, blockquote, section, pre, address | |
} | |
hideButtons = subscript,superscript,textstylelabel, textstyle, textindicator | |
enableWordClean.HTMLparser { | |
allowTags = a,abbr,acronym,b,bdo,blockquote,br,cite,code,col, | |
colgroup,del,dfn,div,em,h1,h2,h3,h4,h5,h6,hr,i,img,li,ol, | |
p,span,strike,strong,sub,sup,table,thead,tbody,tfoot,td,tr,th, | |
ul,pre,dl,dd,dt | |
tags { | |
p { | |
allowedAttribs = title, lang, xml:lang | |
fixAttrib.align.unset = 1 | |
fixAttrib.style.unset = 1 | |
} | |
div < .p | |
h1 < .p | |
h2 < .p | |
h3 < .p | |
h4 < .p | |
h5 < .p | |
h6 < .p | |
table < .p | |
thead < .p | |
tbody < .p | |
tfoot < .p | |
th < .p | |
tr < .p | |
td < .p | |
caption < .p | |
span < .p | |
ul < .p | |
ol < .p | |
li < .p | |
dfn < .p | |
hr < .p | |
strong < .p | |
em < .p | |
del < .p | |
q < .p | |
code < .p | |
blockquote < .p | |
b < .p | |
i < .p | |
sub < .p | |
sup < .p | |
hr < .p | |
dl < .p | |
dd < .p | |
dt < .p | |
pre < .p | |
a { | |
# entfernt die Anker aus Word-Dokumenten | |
# und die Style-Attribute, die Safari sonst in die Links schreibt. | |
allowedAttribs = title, href, class | |
fixAttrib.style.unset = 1 | |
} | |
} | |
# das a ist neu hier, für die Anker aus Word | |
rmTagIfNoAttrib = span,div,a | |
removeTags = center, font, o:p, sdfield, strike, u | |
# das brauchts, weil Safari sonst sogar auf br das style-Atribut setzt | |
noAttrib = br | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment