[Typo3-UG Spain] Formularios y css_styled_content
Sergio
sergio at corecanarias.com
Fri Jan 16 11:46:20 CET 2004
Hola,
He encontrado un enlace bastante más didáctico del que puse ayer sobre
como usar formularios con css_styled_content:
http://typo3.org/1422+M5bad09f62a0.0.html
La clave está en este código:
tt_content.mailform = COA
tt_content.mailform {
10 < lib.stdheader
20 = FORM
20 {
REQ = 1
layout = <tr><td valign="top">###LABEL###</td><td>###FIELD###</td></tr>
data.field = bodytext
stdWrap.wrap = <table border="0" cellspacing="0" cellpadding="4" class="formular">|</table>
recipient.field=subheader
target = _top
redirect.field = pages
redirect.listNum = 0
locationData = 1
badMess = Please fill out the following fields:
}
}
El CType es el tipo de contenido, en este caso mailform. De momento,
para ver un CType lo hago con el PHMyAdmin después de haberlo añadido
en la tabla tt_content (campo CType). Debe de haber una forma más
"directa" me imagino.
Estoy viendo como ir haciendolo con los otros CTypes. A ver
si cuando vaya afinando esto me hago algún articulillo para colgarlo
en la web. Todo lo que descubran al respecto será bienvenido ;-)
--
Sergio Sánchez Ramírez Desarrollo de Sistemas
CORE be digital S.L.
web: http://www.corebedigital.com teléfono: 922 65 25 14
jabber: sergio.core at jabberes.org
msn: sergio at corecanarias.com
More information about the TYPO3-UG-spain
mailing list