[TYPO3-core] RFC#14466: Bug: SpriteIconApi getSpriteIconForRecord does not find default icon

Jeff Segars jsegars at alumni.rice.edu
Tue May 25 20:13:05 CEST 2010


On 5/25/10 11:40 AM, Steffen Ritter wrote:
> Am 24.05.2010 21:04, schrieb Steffen Ritter:
>> Problem:
>> Throughout core there's often the case that we need a icon for an table.
>> this is often done via passing an empty array as "record" for such table.
>> currently spriteIcon does not find any icon if the table uses
>> typeicon_classes in extTables.
>
> Attached v2 should also solve Jeffs issue.
>
> If the table uses "typeicon_classes" =>array() since this version the
> key "default" is mandatory as fallback.
>
> all the best
>
> Steffen

+1 on reading and testing.  Thanks for the update!


More information about the TYPO3-team-core mailing list