[TYPO3-core] RFC: Correction #6825: TCEforms -- Icon for empty palettes should not be displayed

Steffen Kamper steffen at sk-typo3.de
Fri Feb 1 19:11:19 CET 2008


"Malte Jansen" <mail at maltejansen.de> schrieb im Newsbeitrag 
news:mailman.1.1197483885.29698.typo3-team-core at lists.netfielders.de...
>
> Hi!
>
> This is an SVN patch correction
>
> Type: Bug correction
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=6825
>
> Branches:
> Trunk
>
> Problem:
> Removing the Palette Icon with the last patch, also removes the Icon of
> an palette which can collapse and is define as a field
> e.g.:
> 'types' => array(
> 0 => 'field1,--palette--;;palID',
> ),
>
> Solution:
> Adding the icon/link for these palettes.
>
>
> Notes:
> Bug must be opened again?!?
>
>
> Cheers,
>
> Malte
>
+1 by reading. This is really needed.

Why not simply using

function 
getPaletteFields($table,$row,$palette,$header='',$itemList='',$collapsedHeader=false) 
{
...

if ($collapsed && $collapsedHeader) {


vg  Steffen




More information about the TYPO3-team-core mailing list