Typo3 类型3-在Flexform中使用TS或在Flexform中使用Flexform
我希望使用表中的数据和SQL查询集中的PID动态运行此flexform代码 可能吗Typo3 类型3-在Flexform中使用TS或在Flexform中使用Flexform,typo3,Typo3,我希望使用表中的数据和SQL查询集中的PID动态运行此flexform代码 可能吗 <label>Selectbox from DB</label> <config> <type>select</type> <items type="array"> <numIndex index="0" type="array"> <numIndex index="0"></numI
<label>Selectbox from DB</label>
<config>
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0"></numIndex>
<numIndex index="1"></numIndex>
</numIndex>
</items>
<foreign_table>tt_content</foreign_table>
<foreign_table_where>
AND tt_content.pid = 22 <<<< no good at all.... What to do?
</foreign_table_where>
</config>
Selectbox from DB
选择
tt_内容
而tt_content.pid=22“半”答案是为插入pluin的页面设置的存储文件夹。可以使用标记####存储#PID直接访问页面存储文件夹###
在上面的示例中使用此行:
<foreign_table_where>
AND tt_content.pid = ###STORAGE_PID###
</foreign_table_where>
和tt_content.pid=####STORAGE#u pid###
但我仍然想知道如何重用flexform中的值,如下面所示,或者静态扩展模板中的TS集中的值:
<foreign_table_where>
AND tt_content.pid = FIELD:previousFieldInThisFlexformAvailableAfterReload
</foreign_table_where>
tt_content.pid=字段:PreviousFieldInthisFlexFormAvailableAfterLoaded