[TYPO3-core] RFC #16065: Bugfix - New layout and labels for tt_content show palette labels without content

Philipp Gampe phil at philippgampe.info
Wed Oct 20 14:50:49 CEST 2010


+1 reading

Am 20.10.2010, 14:37 Uhr, schrieb JoH asenau <info at cybercraft.de>:
> Solution:
> I tracked it down to the palette "item" --linebreak--
> If there is a --linebreak-- left after removing excluded fields, the  
> palette still gets rendered, since count($parts) will still be true.
> Attached patch solves this problem by checking if $parts contains only  
> --linebreak-- item(s) and removing the palette completely as well for  
> this case.


Grüße
-- 
Philipp Gampe - PGP-Key EF45DD31


More information about the TYPO3-team-core mailing list