Feature #21685
closedEnable easier mail form styling
0%
Description
The standard typo3 mail form doesn't allow to style single form elements by their respective types, because there is no possibility to output the type information in the html.
The output of the type information for each form element could be easily accomplished by adding the following line to tslib_cObj::FORM (typo3/sysext/cms/tslib/class.tslib_content.php):
$result = str_replace('###TYPE###',$confData['type'],$result);
on line 2131 in trunk version (see applied patch)
This way I can setup the following typoscript setup:
tt_content.mailform.20 {
layout = <dl class="###TYPE###">###LABEL###<dd>###FIELD###</dd></dl>
}
(issue imported from #M12749)
Files
Updated by Alexander Opitz over 11 years ago
- Category deleted (
Communication) - Status changed from New to Needs Feedback
- Target version deleted (
0)
As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.