[TYPO3-core] RFC #15869: Feature: t3lib_iconWorks is less flexible in mapping Icons to record rows

François Suter fsu-lists at cobweb.ch
Thu Sep 30 19:20:28 CEST 2010


Hi,

> Am 30.09.2010 17:26, schrieb Steffen Ritter:
>> Hey list,
> sry had an debug call.

+1 after reading and testing

Hint: one way to test, do the following changes to your TCA:

unset($TCA['tt_content']['ctrl']['typeicon_classes']);
$TCA['tt_content']['ctrl']['typeicon_classes']['mask'] = 
'mimetypes-x-content-###TYPE###';

The result should be that you still see icons for content element types 
(e.g. text), but not from others (because of inconsistency in class 
naming), but it's a sign that it works ;-)

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list