我在 Dam 模块中引入了自定义字段,它已经能够正常工作。我希望在编辑文档时在概览选项卡(第一个选项卡)中显示该自定义字段。但现在它出现在最后一个选项卡中。
请问应该如何处理?
这是我在 ext_tables.php 中添加字段到 dam 模块的代码:
t3lib_extMgm::addToAllTCAtypes('tx_dam','custom_field;;;;111');
t3lib_extMgm::addToAllTCAtypes(
'tx_dam', // table
'custom_field;;;;111', // your field definition
'', // at which types it should appear (f.e. in table tt_content 'textpic' or 'image')
'after:title', // before: or after: the field in the TCA
);
例如,看这里:http://api.typo3.org/typo3v4/45/html/classt3lib__ext_mgm.html#a61b2e2deb5d29cfb871e905b040dd416
这是一个关于IT技术的链接。