[TYPO3-core] RFC: #11374: Feature: Add Linebreak in Palette of TCEFORMS

Steffen Kamper info at sk-typo3.de
Sun Aug 2 19:54:45 CEST 2009


Hi Christian,

thx for testing!

Christian Kuhn schrieb:
> Hey Steffen,
> 
> Steffen Kamper wrote:
>> Type: Feature
>>
>> BT Reference: http://bugs.typo3.org/view.php?id=11374
>>
>> Branches: trunk
>>
>> Problem:
>> There is no possibility to add a linebreak in palette fields.
>>
>> Solution:
>> As palette is used for grouping fields, i added an option in palette to
>> allow a linebreak.
>>
>> This is done with following syntax:
>> $TCA[tablename]['palettes'] = array(
>>         '1' => array('showitem' => field1, field2, --linebreak--, field3'),
>> );
> 
> There is a problem with two linebreaks following each other.
> 
> Example for tt_content (typo3/sysext/cms/tbl_tt_content.php line 1105):
> 
> '4' => Array('showitem' => 'sys_language_uid, --linebreak--,
> l18n_parent, --linebreak--, colPos, spaceBefore, spaceAfter,
> section_frame, sectionIndex'),
> 
> This throws an error for elements in default language (l18n_parent isn't
> shown here):
> Warning: implode() [function.implode]: Invalid arguments passed in
> /var/www/TYPO3v4/Core/trunk/t3lib/class.t3lib_tceforms.php on line 4851
>

ok, i will dig into this.

> BTW: Documentation is missing.
> 

when it is accepted i add documentation for sure.

vg Steffen


More information about the TYPO3-team-core mailing list