hi cracks,
wieder mal eine frage. hab in mehreren threads gelesen wie leute das irgendwie getrickst haben .. konnte jedoch nicht nachvollziehen wie
ich mein formular angezeigt griege wenn ich css styled content (wie in modern template building eben) eingefügt habe .. ansonsten müsste
ich das ganze template neu markern. gibts da keinen der das
hingekriegt hat und mir den weg zeigen kann?
Open root ypo3extcss_styled_contentstaticsetup.txt and go to line
number 169 and add this code:
----------------------------
# ******************
# CType: mailform (Added: Ruud Kamphuis, 13-10-03)
# ******************
styles.content.mailform = FORM
styles.content.mailform {
layout = <tr><td
align=right><b>###LABEL###</b></td><td></td><td>###FIELD###</td></tr>
labelWrap.wrap =
fieldWrap.wrap =
commentWrap.wrap =
radioWrap.wrap =
REQ = 1
REQ.labelWrap.wrap =
COMMENT.layout = <tr><td colspan=3 align=center>###LABEL###</td></tr>
stdWrap.wrap = <table border=0 width='100%' cellspacing=0 cellpadding=2> |
</table>
target =
goodMess =
badMess =
redirect.field = pages
redirect.listNum = 0
recipient.field = subheader
data.field = bodytext
# type.field = form_type
type >
locationData = 1
}
----------------------------
Save the file and go to your TEMPLATE SETUP CODE and add this code at the
top:
----------------------------
tt_content.mailform = COA
tt_content.mailform {
10 = < lib.stdheader
20 < styles.content.mailform
20.stdWrap.editIcons = tt_content: bodytext,pages,subheader
20.stdWrap.editIcons.iconTitle=Edit mailform element
}
----------------------------
Save it and have fun