[TYPO3-dev] 4.5: Backend layout selector

Rik Willems rik at actiview.nl
Fri Feb 4 10:53:48 CET 2011


Op 3-2-2011 12:13, JoH asenau schreef:
>
> Solutions:
> 1) Change the CSS setting so that it affects the content of these
> containers only - which is IMHO just a dirty hack that will remove the
> symptom but not the cause
> 2) Remove the cause by changing the way selicons are created, so that
> they will only create HTML output if there really are icons to choose from.
>
> The second solution will still leave the problem of handling a mixed
> case with only some items having icons.


Solutions two looks to be the way to go. Without looking at the code as 
I can't seem to find it... Can't there be a check in the code to see if 
a icon was added? If true display right icons plus 'placeholders' for 
empty ones. If false don't output the icon code at all.

Rik




More information about the TYPO3-dev mailing list