[TYPO3-dev] new TCA field but only if a specific plugin is choosen

Krystian Szymukowicz t33k at prolabium.com
Sun Mar 27 13:56:15 CEST 2011


W dniu 2011-03-27 13:43, Steffen Ritter wrote:
> Am 27.03.2011 12:44, schrieb Krystian Szymukowicz:
>>
>> Hello
>>
>> I wonder if you know a way to show a new TCA field but only if a
>> specific plugin is choosen.
>>
>> Wihout this condition all tt_content of type plugin will be "polutted"
>> with a new field that is specific only for one plugin.
>>
>> The background is that I'd like to add the tab with "Records" but only
>> if my plugin is choosen. In the new tab "Records" user could have
>> ability to add records using IRRE.
>> I would love to add IRRE to flexform but this is not possible AFAIK.
>>
>>
> how about displayCond => 'FIELD:list_type:=:myplugin',
>

Yes :) This is working. Thanks.

I had feeling than it must be implemented in the core already and it is.

-- 
grtz
Krystian Szymukowicz




More information about the TYPO3-dev mailing list