3

我在 Dam 模块中介绍了我的自定义字段。它工作正常。我想在编辑文档时在概览选项卡(第一个选项卡)中显示我的自定义字段。现在它出现在最后一个选项卡中。

这该怎么做。

这是我的 ext_tables.php 行,将字段添加到 dam 模块

t3lib_extMgm::addToAllTCAtypes('tx_dam','custom_field;;;;111');
4

1 回答 1

3
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

于 2011-11-05T19:46:50.793 回答