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

Steffen Ritter info at rs-websystems.de
Tue May 25 18:40:28 CEST 2010


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc14466_v2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100525/110ef859/attachment.txt>


More information about the TYPO3-team-core mailing list