[TYPO3] RTE font color problem

Bas van der Togt b.vandertogt at profinit.com
Mon Apr 23 00:29:19 CEST 2007


Hello list,

I got a strange problem. When i edit some text in the backend it's 
showing the right text color. But when i take a look at the frontend 
it's showing the default color.

backend:
<p style="color: rgb(0, 51, 153);">

frontend:
<p>

How can i fix this? Any help would be great!
cheers,
Bas

my TSconfig:
# Headers
TCEFORM.tt_content.header_layout.altLabels.2 = subheader
TCEFORM.tt_content.header_layout.altLabels.0 = header
TCEFORM.tt_content.header_layout.removeItems = 1,3,4,5,6

# Frames
TCEFORM.tt_content.section_frame.removeItems = 1,5,6,10,11,12,20,21

# Columns
mod.SHARED {
  defaultLanguageLabel = Nederlands
  defaultLanguageFlag = nl.gif
  colPos_list = 0,2
}

# RTE
RTE.default.proc {
   overruleMode = ts_css
   dontConvBRtoParagraph = 1
   remapParagraphTag = p
   allowTagsOutside = img, hr, address, span, table, div, br	
   allowTags = a, abbr, acronym, address, blockquote, b, br, caption, 
center, cite, code, div, em, font, hr, i, img, li, link, ol, p, pre, q, 
sdfield, span, strike, strong, sub, sup, table, thead, tbody, tfoot, td, 
th, tr, tt, u, ul
   denyTags >
   keepPDIVattribs = align, style, class

   entryHTMLparser_db = 1
   entryHTMLparser_db {
     allowTags < RTE.default.proc.allowTags
     denyTags >
     htmlSpecialChars = 0
     tags {
       img.allowedAttribs = style, class, id, src
       img.rmTagIfNoAttrib = 1
       p.fixAttrib.align.unset >
       div.fixAttrib.align.unset >
       p.allowedAttribs = class, style, align
       p.fixAttrib.style.unset >
       span.fixAttrib.style.unset >
       }
   removeTags =
   keepNonMatchedTags = protect
   }
	
HTMLparser_db {
   noAttrib = br
   xhtml_cleaning = 1
   }
   exitHTMLparser_db = 1
   exitHTMLparser_db {
     tags.b.remap = strong
     tags.i.remap = em
     keepNonMatchedTags = 1
     htmlSpecialChars = 0
     }
   }

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.default {
   showTagFreeClasses = 1
   contentCSS = fileadmin/templates/css/styles_rte.css
   useCSS = 0
   disableEnterParagraphs = 1
   enableWordClean = 1
   removeTrailingBR = 1
   removeComments = 1
   removeTags =
   removeTagsAndContents =
   showButtons = 
blockstyle,bold,italic,underline,left,center,right,orderedlist,unorderedlist,outdent,indent,textcolor,bgcolor,textindicator,insertcharacter,line,link,table,findreplace,removeformat,copy,cut,paste,undo,redo,toggleborders,tableproperties,cellmerge,about,rowinsertabove,rowinsertunder,rowdelete,rowsplit,columninsertbefore,columninsertafter,columndelete,columnsplit,cellinsertbefore,cellinsertafter,celldelete,cellsplit,cellproperties,rowproperties
   hideButtons = 
blockstylelabel,textstylelabel,textstyle,fontstyle,fontsize,formatblock,strikethrough,subscript,image,superscript,lefttoright,righttoleft,justifyfull,emoticon,user,acronym,spellcheck,chMode,inserttag,showhelp
   keepButtonGroupTogether = 1
   showStatusBar = 1
   hidePStyleItems =
   inlineStyle.text-alignment =
   ignoreMainStyleOverride = 1
   classesParagraph =
   classesAnchor = external-link, external-link-new-window, 
internal-link, internal-link-new-window, download, mail
   classesAnchor.default {
     page = internal-link
     url = external-link-new-window
     file = download
     mail = mail
     }
	
   disableAlignmentFieldsetInTableOperations = 0
   disableSpacingFieldsetInTableOperations = 1
   disableColorFieldsetInTableOperations = 0
   disableLayoutFieldsetInTableOperations = 0
   disableBordersFieldsetInTableOperations = 1
}

TCEFORM.tt_content.bodytext.RTEfullScreenWidth = 760

RTE.default.FE < RTE.default
RTE.default.FE.showStatusBar = 1
RTE.default.FE.hideButtons = 
blockstylelabel,textstylelabel,textstyle,fontstyle,fontsize,formatblock,strikethrough,subscript,image,superscript,lefttoright,righttoleft,justifyfull,emoticon,user,acronym,spellcheck,chMode,inserttag,showhelp,about,rowproperties,rowinsertabove,rowinsertunder,rowdelete,rowsplit,columninsertbefore,columninsertafter,columndelete,columnsplit,cellproperties,cellinsertbefore,cellinsertafter,celldelete,cellsplit
RTE.default.FE.FE >
RTE.default.FE.userElements >
RTE.default.FE.userLinks >

RTE.default.disableColorPicker = 1
RTE.default.disableSelectColor = 0

RTE.colors {
   color1 {
     name = groen
     value = #99CC00
     }
   color2 {
     name = blauw
     value = #003399
     }
   color3 {
     name = donker grijs
     value = #999999
     }
   color4 {
     name = licht grijs
     value = #CCCCCC
     }
   color5 {
     name = wit
     value = #FFFFFF
     }
}

RTE.default.colors = color1, color2, color3, color4, color5


More information about the TYPO3-english mailing list