3

Dam モジュールにカスタム フィールドを導入しました。それは正常に動作します。ドキュメントを編集するときに、概要タブ (最初のタブ) にカスタム フィールドを表示したいと考えています。最後のタブに表示されるようになりました。

これを行う方法。

これは、フィールドを dam モジュールに追加する私の ext_tables.php 行です。

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 に答える