[TYPO3-core] RFC: #8076: New workspace icon for t3skin

Steffen Kamper steffen at sk-typo3.de
Wed Apr 9 21:11:16 CEST 2008


"Ernesto Baschny [cron IT]" <ernst at cron-it.de> schrieb im Newsbeitrag 
news:mailman.1.1207767920.3204.typo3-team-core at lists.netfielders.de...
>
> I was thinking the other way around. My extension wants to provide 
> different icons, depending on the installed skin. t3skin author doesn't 
> know or doesn't care about my module. So in my ext I have:
>
> typo3conf/ext/myext/icons/t3skin/module_icon.gif
> typo3conf/ext/myext/icons/t3skin/ ... other "t3skin-like" icons
> ...
> typo3conf/ext/myext/icons/default/module_icon.gif
> typo3conf/ext/myext/icons/default/ ... other icons (fallback) ...
>
> Any standard way to output the correct icons depending on which skin is 
> installed? That could be used for the "version" sysext, which seem to 
> provide the old fashioned "cm_icon.gif" which doesn't fit the t3skin.
>
> Cheers,
> Ernesto

ah, gotcha.

no, there is no official way. But i think it would be easy if skinext would 
use something like that:
$TBE_STYLES['skinExtension'] = 't3skin';

The problem is that skin extensions could be installed parallel so you have 
to get the "last" one, or using an array, i'm not sure.

vg Steffen 




More information about the TYPO3-team-core mailing list