Issue Feature Closed

#21685Enable easier mail form styling

Florian Carstens 11/25/09, 12:48 updated 09/10/13, 09:00

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 =
###LABEL###
###FIELD###

}

(issue imported from #M12749)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.