[TYPO3-UG Spain] problemas con htmlarea

Nicolas Puente nicolas.puente at lgb-rlp.de
Thu Jul 5 14:09:05 CEST 2007


No sé dónde está el problema, pero yo uso ese método y funciona. Se 
genera un html normal, no se traduce en ningún momento los caracteres. 
Pero yo no sé porqué a vosotros no os funciona. Si quieres déjame ver tú 
código y quizá dé con el problema. Yo lo uso en www.lgb-rlp.de y en 
http://www.ev-kirche-hochheim.de/index.php?id=56 (página que está en 
construcción).
Con esto se generan todos los títulos iguales.
Si quieres generar p, tr, o td, ul, ol, li, o lo que sea tienes que usar 
otras clases, pero funciona.
Saludos.

Es el template para tres columnas:

<!-- ###DREISPALTIG### -->
<!--TYPO3SEARCH_begin-->
    <DIV id="gesamt_content">
        <DIV id="header">
            <DIV id="headerimage">###HEADER_IMAGE###</DIV>
            <DIV id="logo"><a name="Home" id="Home" 
href="http://www.ev-kirche-hochheim.de/" title="Home"><img 
src="fileadmin/test/bilder/kirche_logo.jpg" alt="Kirche Logo" 
width="110" height="110" border="0" title="Kirche Logo"></a></DIV>
        </DIV>
        <DIV id="navigationsleiste">###NAVIGATIONSLEISTE###</DIV>
        <DIV id="navi">
            ###MENU_LINKS###
            ###searchbox###
        </DIV>
        <DIV id="drei_cols_eins">###INHALT###</DIV>
        <DIV id="drei_cols_zwei">###INHALT2###</DIV>
        <DIV id="rechtespalte">    ###INHALT_RECHT###</DIV>
        <DIV id="nav_unten">
            <DIV id="subnavigation">###SUBNAVI###</DIV>
            <DIV id="druckversion">    ###DRUCKVERSION###</DIV>
        </DIV>
        <DIV id="copyright">###COPYRIGHT###</DIV>
    </DIV>
<!--TYPO3SEARCH_end-->
<!-- ###DREISPALTIG### -->



En el setup

# Default PAGE object:
seite = PAGE
seite {
    bodyTag = <body>
    noLinksUnderline = 0
    typeNum = 0
   
    # CSS-Datei einbinden
    includeCSS{
        fie1 = fileadmin/test/styl_ns.css
        file1.media = all
        file1.title = stylsheet für die Ausgabe an Bildschirm
    }
    10 = TEMPLATE
    10 {
        template = FILE
        template.file = fileadmin/test/vorlage.htm
        workOnSubpart = EINSPALTIG
        marks {
            HEADER_IMAGE < temp.headerbild
            NAVIGATIONSLEISTE< temp.navigationsleiste
            MENU_LINKS < temp.NAVI
            searchbox >
            searchbox < plugin.tx_macinasearchbox_pi1
            INHALT < temp.INHALT
            INHALT2 < temp.INHALT2
            INHALT_RECHT < temp.CONTENT_RIGHT
            SUBNAVI < temp.SUBNAVI
            DRUCKVERSION < temp.DRUCKVERSION
            COPYRIGHT < temp.COPYRIGHT
        }
     }
}

#Überschrift
lib.stdheader >
lib.stdheader = CASE
lib.stdheader {
   key.field = header_layout
   # Layout 1
   1 = TEXT
   1.field = header
   1.wrap = <h1> | </h1>

   # Layout 2
   2 = TEXT
   2.field = header
   2.wrap = <h2> | </h2>

   # Layout 3
   3 = TEXT
   3.field = header
   3.wrap = <h3> | </h3>

   # Layout 4 - Nichts Para que no enseñe nada
   4 = TEXT
   4.field = header
   4.wrap = |
   efault < .4
}

Esto va en el TS root de la página

#Items in header_layout, para que lo vean los redactores TCEFORM.tt_content.header_layout.removeItems = 0, 5, 100
TCEFORM.tt_content.header_layout.altLabels.1 = Titulo #equivale a H1
TCEFORM.tt_content.header_layout.altLabels.2 = Subtítulo 1 #equivale a H2
TCEFORM.tt_content.header_layout.altLabels.3 = Subtítulo 2 #equivale a H3
TCEFORM.tt_content.header_layout.altLabels.4 = Ningún contenido. 
#equivale a nada, sin contenido

Esto en el css.
Las clases correspondientes en el css, tú tienes que poner tus columnas.
/* Columna 1 y dos */
#eins_col h1,  #eins_col h2, #eins_col h3, #zwei_cols_eins h1,  #zwei_cols_eins h2, #zwei_cols_eins h3, #drei_cols_eins h1,  #drei_cols_eins h2, #drei_cols_eins h3,, #drei_cols_zwei h1,  #drei_cols_zwei h2, #drei_cols_zwei h3 {
    color : #A03323;
    padding-top: 0pt;
    padding-right: 0pt;
    padding-bottom: 0pt;
    padding-left: 25px;
    background-image: url(bilder/bullet.gif);
    background-repeat: no-repeat;
    background-x-position: 0pt;
    background-y-position: 1px;
    border : thin solid #ffffff;
    border-width : 0 0 1px 0;
}
#eins_col h1, #zwei_cols_eins h1, #drei_cols_eins h1, #drei_cols_zwei h1 {
    font-size : 11pt;
}
#eins_col h2, #zwei_cols_eins h2, #drei_cols_eins h2, #drei_cols_zwei h2 {
    font-size : 10pt;
}
#eins_col h3, #zwei_cols_eins h3, #drei_cols_eins h3, #drei_cols_zwei h3 {
    font-size : 9pt;
}

/* Columana 3 (derecha)*/
#rechtespalte h1,  #rechtespalte h2{
    color : #A03323;
    padding-top: 0pt;
    padding-right: 0pt;
    padding-bottom: 0pt;
    padding-left: 20px;
    background-image: url(bilder/bullet.gif);
    background-repeat: no-repeat;
    background-x-position: 0pt;
    background-y-position: 1px;
    border : thin solid #ffffff;
    border-width : 0 0 1px 0;
}
#rechtespalte h1 {
    font-size : 9pt;
}
#rechtespalte h2 {
    font-size : 8pt;
}




More information about the TYPO3-UG-spain mailing list