gpt4 book ai didi

TYPO3 - Flexforms 显示条件

转载 作者:行者123 更新时间:2023-12-02 03:56:17 25 4
gpt4 key购买 nike

我需要有关 TYPO3 Flexforms 和此 displayCond 的帮助!

<displayCond>FIELD:settings.slider.slides.slider.layout:=:default</displayCond>

这个例子也不起作用: <displayCond>FIELD:settings.slider.slides.layout:=:default</displayCond>

它在数组中不起作用:(这是一个 Flexform 示例

<slider>
<ROOT>
<TCEforms>
<sheetTitle>Slider</sheetTitle>
<displayCond>FIELD:sDEF.switchableControllerActions:=:Elements->slider</displayCond>
</TCEforms>
<type>array</type>
<el>
<settings.slider.slides type="array">
<title>only first 3 items are used</title>
<type>array</type>
<section>1</section>
<el>
<slider>
<type>array</type>
<title>Slide</title>
<el>

<!-- Slider Settings
====================================================================== -->
<layout>
<TCEforms>
<label>Layout</label>
<onChange>reload</onChange>
<config>
<type>select</type>
<items>
<numIndex index="10">
<numIndex index="0">Default</numIndex>
<numIndex index="1">default</numIndex>
</numIndex>
<numIndex index="20">
<numIndex index="0">Landingpage</numIndex>
<numIndex index="1">landingpage</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
</layout>


<image>
<TCEforms>
<label>Image</label>
<displayCond>FIELD:settings.slider.slides.slider.layout:=:default</displayCond>
<config>
<type>group</type>
<internal_type>file</internal_type>
<allowed>jpg, jpeg, gif, png</allowed>
<show_thumbs>1</show_thumbs>
<minitems>0</minitems>
<maxitems>1</maxitems>
<size>1</size>
</config>
</TCEforms>
</image>

最佳答案

尝试使用以下displayCond:

<displayCond>FIELD:layout:=:default</displayCond>

关于TYPO3 - Flexforms 显示条件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43847864/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com