【问题标题】:How to insert custom field in typo3 Dam module at custom location?如何在自定义位置的typo3 Dam模块中插入自定义字段?
【发布时间】:2011-08-08 10:44:23
【问题描述】:

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

如何做到这一点。

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

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

【问题讨论】:

    标签: typo3 dam


    【解决方案1】:
    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.看那边: http://api.typo3.org/typo3v4/45/html/classt3lib__ext_mgm.html#a61b2e2deb5d29cfb871e905b040dd416

    【讨论】:

    • 这是一个死链接。 :(
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-11-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-22
    • 1970-01-01
    相关资源
    最近更新 更多