2011-08-08 2 views
3

ダムモジュールにカスタムフィールドを導入しました。それはうまく動作します。ドキュメントを編集するときに、概要フィールド(最初のタブ)にカスタムフィールドを表示したい。今は最後のタブに表示されます。カスタムの場所にtypo3ダムモジュールのカスタムフィールドを挿入する方法は?

これを行う方法。

この

はダムモジュール

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

答えて

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 
); 

f.e.にフィールドを追加し、私のext_tables.phpラインでありますそこに見る: http://api.typo3.org/typo3v4/45/html/classt3lib__ext_mgm.html#a61b2e2deb5d29cfb871e905b040dd416

+0

これは死んでいるリンクです。 :( – Mateng

+0

バージョン4.5は最新ではありません。リンクが更新されました。 – maholtz

関連する問題