Actions
Bug #26867
closedcontent FORM: wrong layout for label
Start date:
2011-05-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Please have a look at this snippet from TYPO3 4.5.2:
file: /typo3/sysext/cms/tslib/content/class.tslib_content_form.php
line: 685 - 691
if ($confData['type'] == 'label') { $labelLayout = isset($conf['LABEL.']['layout.']) ? $this->cObj->stdWrap($conf['LABEL.']['layout'], $conf['LABEL.']['layout.']) : $conf['CHECK.']['layout']; if ($labelLayout) { $result = $labelLayout; } }
You can find a bug here. Within a content element of the type FORM a field defined als "label" will have the layout of "check". Fix: change line 687
from
: $conf['CHECK.']['layout'];
to
: $conf['LABEL.']['layout'];
Greetings
Actions