[TYPO3-dev] Change BE icon for hidden item

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Sep 13 13:14:38 CEST 2007


Brian Bendtsen schrieb:
> Hi
> 
> In my own extension I would like to change the BE icon for a hidden item.
> 
> I have this in the ctrl area of my TCA so far:
> 
>         'typeicon_column' => 'paid',
>         'typeicons' => Array(
>          'yes' => 
> t3lib_extMgm::extRelPath($_EXTKEY).'icon_tx_indmeldelse_medlem.png',
>          'no' => 
> t3lib_extMgm::extRelPath($_EXTKEY).'icon_tx_indmeldelse_medlem_skjult.png',
>          ),
> 
> But I would like a different icon for hidden state.
> 
> Any suggestions?

 From memory:

Create another icon with "__h" appended to it. eg myicon.gif becomes 
myicon__h.gif. No further configuration needed.

Masi




More information about the TYPO3-dev mailing list