[TYPO3-UG Spain] problemas con htmlarea
Nicolas Puente
nicolas.puente at lgb-rlp.de
Tue Jul 3 09:09:21 CEST 2007
Enrique, perdóname, me equivoqué al decirte que lo pongas en el TS, es
en el setup.
En el setup al final va
#Items in header_layout
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
# Para los títulos en setup
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 5 - Nichts
5 = TEXT
5.field = header
5.wrap = |
default < .4
}
#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
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;
}
Esto funciona 100%. Yo lo he usado más o menos igual en varios sitios y
funciona.
Saludos.
More information about the TYPO3-UG-spain
mailing list