Sorry have been off forums for a bit.
This is requires at the start of the Page 1 Typoscript to specify specific colors
------------------------------------------------------------------------
RTE.colors {
color1 {
name = Expatbm standard blue
value = #00477f
}
color2 {
name = Expatbm standard grey
value = #666666
}
color3 {
name = Light grey
value = #999999
}
noColor {
name = No colour
value =
}
}
# Specific setting for the font color selector:
RTE.default.colors = color1, color2, color3, noColor
-------------------------------------------
The individual colors are define and then they need to be specified to the color selector.
The following needs to be included in RTE.default.toolbarOrder
--------------------------------------------
fontsize
textcolor
bgcolor
--------------------------------------------
at the point where you want them to be displayed.
My full TS follows.
---------------------------------------------
RTE.colors {
color1 {
name = Expatbm standard blue
value = #00477f
}
color2 {
name = Expatbm standard grey
value = #666666
}
color3 {
name = Light grey
value = #999999
}
noColor {
name = No colour
value =
}
}
# Specific setting for the font color selector:
RTE.default.colors = color1, color2, color3, noColor
# KB Content element container templates
#######################################
TCEFORM.tt_content.container {
PAGE_TSCONFIG_ID = 2
}
# Add and remove new Frames and Page Content styles
#######################################
TCEFORM.tt_content.section_frame {
# removeItems = 1, 5, 6, 10, 11, 12, 20, 21
addItems.100 = Frame 3
}
# Template Selector
#######################################
options.stfl-tmpl2columns.enable = true
options.stfl-tmpl2columns.default_main = 2column
options.stfl-tmpl2columns.mapping {
# corresponding to [name].html (or .htm) template file
# 1column.html
1column = 0,3
# 2column.html
2column = 1,0,3
# 3column.html
3column = 1,0,2,3
# home2column.html
home2column = 0,2,3
}
# MLC 20070416 enable for rtehtmlarea
#######################################
RTE {
default {
contentCSS = fileadmin/templates/zwire/css/layout.css
allowTags (
a
, abbr
, acronym
, address
, b
, blockquote
, br
, caption
, center
, cite
, code
, div
, em
, font
, h1
, h2
, h3
, h4
, h5
, h6
, hr
, i
, img
, li
, link
, ol
, p
, pre
, q
, sdfield
, span
, strike
, strong
, sub
, sup
, table
, tbody
, td
, tfoot
, th
, thead
, tr
, tt
, u
, ul
)
allowTagsOutside (
a
, abbr
, acronym
, address
, b
, blockquote
, br
, caption
, center
, cite
, code
, div
, em
, font
, h1
, h2
, h3
, h4
, h5
, h6
, hr
, i
, img
, li
, link
, ol
, p
, pre
, q
, sdfield
, span
, strike
, strong
, sub
, sup
, table
, tt
, u
, ul
)
# Markup options (htmlArea RTE only)
enableWordClean = 1
removeTrailingBR = 0
removeComments = 1
removeTags =
removeTagsAndContents =
ignoreMainStyleOverride = 1
useCSS = 1
# Show all applicable class selectors available in the style sheet file (htmlArea RTE only)
showTagFreeClasses = 0
# Set to 0 FKW 20/12/2007
# Match these items to "TCEFORM.tt_content.header_layout.removeItems" list
# below
hidePStyleItems = address
hideButtons (
lefttoright
, righttoleft
, textindicator
, emoticon
, fontstyle
)
toolbarOrder (
cut
, copy
, paste
, bar
, undo
, redo
, bar
, image
, line
, link
, table
, bar
, spellcheck
, chMode
, bar
, about
, linebreak
, removeformat
, formatblock
, blockstyle
, fontsize
, textcolor
, bgcolor
, linebreak
, bold
, italic
, underline
, bar
, superscript
, subscript
, strikethrough
, bar
, left
, center
, right
, justifyfull
, bar
, unorderedlist
, orderedlist
, outdent
, indent
, linebreak
, tableproperties
, toggleborders
, rowproperties
, rowinsertabove
, rowinsertunder
, rowdelete
, rowsplit
, columninsertbefore
, columninsertafter
, columndelete
, columnsplit
, cellproperties
, cellinsertbefore
, cellinsertafter
, celldelete
, cellsplit
, cellmerge
)
showButtons = *
disablePCexamples = 1
proc {
remapParagraphTag =
dontConvBRtoParagraph = 1
keepPDIVattribs = align,class,style,id,xml:lang
allowTags < RTE.default.allowTags
allowTagsOutside < RTE.default.allowTagsOutside
allowedClasses = (
external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail,
align-left, align-center, align-right,
csc-frame-frame1, csc-frame-frame2,
component-items, action-items,
component-items-ordered, action-items-ordered,
important, name-of-person, detail
)
removeTags < RTE.default.removeTags
removeTagsAndContents < RTE.default.removeTagsAndContents
entryHTMLparser_db {
keepNonMatchedTags = 1
xhtml_cleaning = 1
keepPDIVattribs = < RTE.default.proc.keepPDIVattribs
allowTags < RTE.default.allowTags
allowTagsOutside < RTE.default.allowTagsOutside
removeTags < RTE.default.removeTags
removeTagsAndContents < RTE.default.removeTagsAndContents
tags >
tags {
br.allowedAttribs = class, style, clear
}
}
HTMLparser_db {
# Strip all attributes from these tags
noAttrib =
}
}
inlineStyle >
classesParagraph = >
classesTable = >
classesTD = >
classesLinks >
classesCharacter = >
classesAnchor >
FE >
FE < RTE.default
}
# Remove link images
classesAnchor >
classes >
config.tt_content.bodytext.proc < RTE.default.proc
}
mod.xMOD_alt_doc {
disableDocSelector = 1
disableCacheSelector = 1
}
TCEFORM.pages {
# MLC set 0 to 1 to turn off page item
layout.disabled = 0
lastUpdated.disabled = 0
newUntil.disabled = 0
target.disabled = 0
no_cache.disabled = 0
cache_timeout.disabled = 0
abstract.disabled = 0
keywords.disabled = 0
author.disabled = 0
email.disabled = 0
description.disabled = 0
fe_login_mode.disabled = 0
module.disabled = 0
}
TCEFORM.tt_content {
header_layout.altLabels.1 = Heading 1
header_layout.altLabels.2 = Heading 2
header_layout.altLabels.3 = Heading 3
header_layout.altLabels.4 = Heading 4
header_layout.altLabels.5 = Heading 5
# MLC example for adding and remove header_layout items
# header_layout.removeItems = 100
# header_layout.addItems.6 = Heading 6
# header_layout.addItems.99 = Hidden
# MLC example to remove various content types
# CType.removeItems = bullets,login,div,splash
sys_language_uid.disabled = 0
colPos.disabled = 0
section_frame.disabled = 0
spaceBefore.disabled = 1
spaceAfter.disabled = 1
}
# This can allow you to have the cache for additional pages cleared when
# saving to some page or branch of the page tree.
# @ref http://typo3.org/documentation/document-library/doc_core_tsconfig/gt_TCEMAIN/
TCEMAIN.clearCacheCmd = all
mod.SHARED.colPos_list = 0,2,3
TCEFORM.tt_content.colPos.removeItems = 1,10