Issue Bug Closed

#23503In TCA Palletes section keyword "--linebreak--" does not work

Florian Sauer 09/04/10, 21:21 updated 10/02/18, 12:22

Description

Inserting the reserved word “—linebreak—” as a “field” in the fieldlist of a palette has no effect in the rendered form of the backend

Suggestion:
In class t3lib_TCEforms – function printPalette($palArr)

change

$out = ‘<fieldset class=“t3-form-palette-fieldset”>’;
for ($i = 0; $i <= $row; $i++) {
$out .= implode($iRow[$i]);
}
$out .= ‘</fieldset>’;
to
$out = ‘’;
for ($i = 0; $i <= $row; $i++) {
$out .= ‘<fieldset class="t3-form-palette-fieldset">‘;<br> $out .= implode($iRow[$i]);<br> $out .= ‘</fieldset>‘;
} This worked for me, as all fields of a palette left and right of “—linebreak” will be enclosed in their own <fieldset><br>(issue imported from #M15640)</fieldset>

Reviews 0

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