[TYPO3-dev] Extensions with new CType
Steffen Kamper
steffen at sk-typo3.de
Thu Apr 17 09:09:20 CEST 2008
"JoH asenau" <info at cybercraft.de> schrieb im Newsbeitrag
news:mailman.1.1208391010.22830.typo3-dev at lists.netfielders.de...
>>> t3lib_extMgm::addPlugin(array(
>>> "LLL:EXT:page_php_content/locallang_db.php:tt_content.CType",
>>> $_EXTKEY."_pi1",
>>> t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif'
>>> ),"CType");
>>>
>>> and you're done ;-)
>>
>> Excellent, thanks for the tip!
>
> Can this be done via TSconfig "addItems" as well?
>
> Joey
>
Hi Joey,
i don't think so because you don't know in which array element the item is,
because it's numeric.
you find icon in
$TCA['tt_content']['columns']['CType']['config']['items'][$number][2]
vg Steffen
More information about the TYPO3-dev
mailing list