【问题标题】:Typo3 8.7.15 Flexform: displayCond on field pages (record storage page)Typo3 8.7.15 Flexform:字段页面上的displayCond(记录存储页面)
【发布时间】:2018-10-09 14:56:53
【问题描述】:

有没有办法只在定义记录存储页面时显示我的弹性表单字段?我尝试了以下方法,但出现错误:

   <settings.view.type>
       <TCEforms>
           <displayCond>FIELD:pages:REQ:true</displayCond>
....

-> 弹性表单“sDEF”上的字段“settings.view.type”上的弹性表单 displayCond 引用了可能在给定数据结构中定义但在数据值中找不到的字段或字段/表单组合“页面” .

【问题讨论】:

    标签: php typo3 extbase typo3-8.x flexform


    【解决方案1】:

    尝试在字段名前加上:parentReq.

    这将访问父数据库记录而不是 FlexForm 数据:

    <settings.view.type>
        <TCEforms>
            <displayCond>FIELD:parentRec.pages:REQ:true</displayCond>
            ...
        </TCEforms>
    </settings.view.type>
    

    【讨论】:

      猜你喜欢
      • 2013-04-23
      • 1970-01-01
      • 2017-01-16
      • 1970-01-01
      • 1970-01-01
      • 2015-04-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多