[TYPO3-core] RFC #16065: Bugfix - New layout and labels for tt_content show palette labels without content
Ernesto Baschny [cron IT]
ernst at cron-it.de
Thu Oct 21 11:14:55 CEST 2010
JoH asenau schrieb am 20.10.2010 14:37:
> This is a SVN patch request.
>
> Type: Bugfix
>
> http://bugs.typo3.org/view.php?id=160365
>
> Branches: trunk
>
> Problem:
> After 0016031 palette labels are displayed, although there is no option in the palette.
> So you see a palette "headline", but no option below. This does not make sense; remove the palette label in that case!
>
> 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.
>
> Cheers
I did some CGL cleanups (indention with tabs and not spaces, for
example) and commited to trunk rev. 9189.
This also gets rid of Tabs which didn't contain any input field.
Thanks!
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list