[TYPO3-german] RTE Klassen werden nicht im Frontend übernommen??

Jochen Graf graf at uni-landau.de
Thu Jul 26 10:42:40 CEST 2007


Hallo Liste,

ich kämpfe schon seit einiger Zeit mit der Übernahmen der RTE Einstellungen.

Mein CSS Datei liegt unter

RTE.default {
  contentCSS = fileadmin/css/main/typo3-RTE.css
  showTagFreeClasses = 1
  showButtons = *
  hideButtons = lefttoright, righttoleft, fontstyle, fontsize, showhelp
  keepButtonGroupTogether = 1
  classesCharacter = mono,file,directory,orangeBackground,
  classesParagraph = 
greenbox,bluebox,code,box,smalltext,redbox,orangeBackground
  allowedClasses = 
greenbox,bluebox,code,box,smalltext,redbox,mono,file,directory,orangeBackground
  proc {
    allowedClasses < RTE.default.allowedClasses
  }
  FE {
    proc  {
      allowedClasses < RTE.default.allowedClasses
    }
  }
}
RTE.fonts {
  face1 {
    name = Arial
    value = arial,helvetica,sans-serif
  }
  face2 {
    name = Arial Black
    value = 'arial black',helvetica,sans-serif
  }
  face3 {
    name = Comic Sans MS
    value = 'Comic Sans MS',arial,helvetica,sans-serif
  }
  face4 {
    name = Trebuchet MS
    value = 'trebuchet ms',serif
  }
}
RTE.default.fontFace = face1, face2, face3, face4
RTE.colors {
  color1 {
    name = t3 dunkelblau
    value = #30549E
  }
  color2 {
    name = t3 mittelblau
    value = #4871C7
  }
  color3 {
    name = t3 hellblau
    value = #7C9AD7
  }
  color4 {
    name = rot
    value = #FF0000
  }
}
RTE.default.colors = color1, color2, color3, color4
RTE.classesAnchor {
  externalLink {
    class = external-link
    type = url
    image=fileadmin/img/icons/external_link.gif
    titleText =
  }
  externalLinkInNewWindow {
    class = external-link-new-window
    type = url
    image=fileadmin/img/icons/external_link_new_window.gif
    titleText =
  }
  internalLink {
    class = internal-link
    type = page
    image=fileadmin/img/icons/internal_link.gif
    titleText =
  }
  internalLinkInNewWindow {
    class = internal-link-new-window
    type = page
    image=fileadmin/img/icons/internal_link_new_window.gif
    titleText =
  }
  download {
    class = download
    type = file
    image=fileadmin/img/icons/download.gif
    titleText =
  }
  mail {
    class = mail
    type = mail
    image=fileadmin/img/icons/mail.gif
    titleText =
  }
}


### meine RTE.css

/* #############################
** ### classesParagraph ########
** #############################
*/
p.smalltext {font-size:0.9em;}
p.box {display:block; font-size:1em; color:#000; padding:0.5em;    
background:#f0f0f4; border-left:8px #E0E7F5 solid;}
p.redbox {color:#000; background-color:#fee; border:1px #fcc solid; 
padding:6px; margin-bottom:0.5em;}
p.bluebox {color:#000; background:#f0f0f4; padding:2px; border:1px #ccd 
solid; text-align:center;    padding:4px 0 4px 0; margin-bottom:1em;}
p.greenbox {background-color:#f4f8f4; border:1px #aca dotted; 
padding:6px; margin-bottom:0.5em;}
p.greenbox a {color:#353;}
p.greenbox a:hover {background:transparent;}
p.code {display:block; margin:0 0 1em 1em; font-family:"Courier New", 
Courier, monospace; font-size:1em; padding:0.5em; color:#000;    
background:#f0f0f4;    border-left:8px #E0E7F5 solid;}




/* #############################
** ### classesCharacter ########
** #############################
*/
span.mono {font-family:"Courier New", Courier, monospace; 
font-style:normal; padding:0 0.3em 0 0.3em; background:#f0f0f4; 
border:1px #ccd solid;}
span.file {font-family:"Courier New", Courier, monospace;    
font-style:normal; padding:0 0 0 14px; color:#000088; 
background:transparent url('../img/icons/file.gif') no-repeat left;}
span.directory {font-family:"Courier New", Courier, monospace; 
font-style:normal; padding:0 0 0 15px; color:#000088; 
background:transparent url('../img/icons/dir.gif') no-repeat left;}

/* #############################
** ### TagFreeClasses ##########
** #############################
*/
.orangeBackground {background:#FEC216;}





img.links {
float: left;
margin: 0 10px 10px 0
}



table.contenttable  {
    background-color: #FFFFFF ! important;
    border:0px ! important;
    margin:0px ! important;
    border-collapse:collapse;
    margin-left:30px ! important;
    margin-top:20px ! important;
    width:640px ! important;
    }
/* Definition der ersten Spalte*/
table.contenttable td.td-1 {
        vertical-align:top;
        border-style:none
        line-height:10px;
    background-color:#ffffff ! important;
    width:95%;
    padding-left:5px;
   
    }
table.contenttable p {
        margin:0px ! important;
        padding:0px ! important;
    /*border-bottom:1px solid #003399 ! important;*/
    color:#000000 ! important;
    background-color:transparent ! important;
    }
table.contenttable p a:link, table.contenttable p a:visited {
    color:#005bfe ! important;
    font-weight:normal;
    font-size:12px ! important;
}
table.contenttable p a:hover {
    color:#FF0000 ! important;
    font-weight:normal;
    font-size:11px ! important;
}
tr.tr-even td  {
    background-color:#efefef ! important;
    }
tr.tr-0 td  {
    font-weight:bold;
    }
   


TD, TH {
/* Rahmen ausgeschaltet 0p1;*/
border: outset 0pt;
horizontal-align: right;
padding: 9px;
line-height:10px;
}
   


## Absätze für Bilder

/* bild oben */
img.layout-1 {
    margin-bottom: 10px;
}
/* bild links */
img.layout-2 {
    value = float: left; margin: 0 10px 10px 0; border: 2px solid red;
}
/* bild rechts */
img.layout-3 {
    value = float: right; margin: 0 0 10px 10px;
}





Diese Einstellungen werden zwar im Backend angezeigt aber nach dem 
Abspecihern ist alles wieder weg.


/* #############################
** ### classesParagraph ########
** #############################
*/
p.smalltext {font-size:0.9em;}
p.box {display:block; font-size:1em; color:#000; padding:0.5em;    
background:#f0f0f4; border-left:8px #E0E7F5 solid;}
p.redbox {color:#000; background-color:#fee; border:1px #fcc solid; 
padding:6px; margin-bottom:0.5em;}
p.bluebox {color:#000; background:#f0f0f4; padding:2px; border:1px #ccd 
solid; text-align:center;    padding:4px 0 4px 0; margin-bottom:1em;}
p.greenbox {background-color:#f4f8f4; border:1px #aca dotted; 
padding:6px; margin-bottom:0.5em;}
p.greenbox a {color:#353;}
p.greenbox a:hover {background:transparent;}
p.code {display:block; margin:0 0 1em 1em; font-family:"Courier New", 
Courier, monospace; font-size:1em; padding:0.5em; color:#000;    
background:#f0f0f4;    border-left:8px #E0E7F5 solid;}




Dauert das etwas länger bis mal die Einstellungen übernommen werden, 
oder kann ich irgenein chache löschen?

Aber die Überschriften und die Links "mit Bildern" werden übernommen.


-- 
Mit freundlichen Grüssen

Jochen Graf

Universität Koblenz-Landau / Campus Landau
Arbeitstelle Multimedia/Technik-Administration
Thomas-Nast-Str. 44
76829 Landau
mail: graf at uni-landau.de
fon: 06341-990-224



More information about the TYPO3-german mailing list