选择一个组后,我希望看到与这些组匹配的所有类别。这个是可能的吗?
<settings.flexform.categorygroups>
<TCEforms>
<label>Category</label>
<displayCond>FIELD:switchableControllerActions:=:Job->list</displayCond>
<config>
<type>select</type>
<foreign_table>tx_ext_domain_model_jobcategorygroup</foreign_table>
<minitems>1</minitems>
<maxitems>99</maxitems>
<size>4</size>
</config>
</TCEforms>
</settings.flexform.categorygroups>
<settings.flexform.categories>
<TCEforms>
<label>Category</label>
<displayCond>FIELD:settings.flexform.categorygroups:REQ:true</displayCond>
<config>
<type>select</type>
<foreign_table>tx_ext_domain_model_jobcategory</foreign_table>
<foreign_table_where>AND tx_ext_domain_model_jobcategory.job_category_group IN (###jobcategory###)</foreign_table_where>
<minitems>1</minitems>
<maxitems>99</maxitems>
<size>4</size>
</config>
</TCEforms>
</settings.flexform.categories>如何填写这个“IN”?
发布于 2016-11-22 23:44:42
在TCA中,有一些这类东西的标记。不确定它是否也适用于Flexforms。https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#foreign-table-where
https://stackoverflow.com/questions/40744771
复制相似问题