Actions
Feature #21685
closedEnable easier mail form styling
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-11-25
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:
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
Actions