【发布时间】:2013-09-12 19:40:09
【问题描述】:
我现在才刚刚开始使用 Fluid 驱动的 TYPO3(使用 Claus Due [flux、fluidpages、fluidcontent、vhs 等] 的出色扩展)
我想做的是:
- 在 Section 内使用 Flexform 对象添加多个内容
- 使用类似于 enableFields 的东西
我在内容模板文件中的 Flexform 配置(在文件夹 EXT:myext/Resources/Private/Templates/Content 中)看起来像这样
<f:section name="Configuration">
<flux:flexform wizardTab="Speciality" id="heroWidget">
<flux:flexform.section name="elements">
<flux:flexform.object name="heroteaser">
<flux:flexform.field.text name="title" />
<flux:flexform.field.input name="description" />
</flux:flexform.object>
</flux:flexform.section>
</flux:flexform>
</f:section>
我现在的问题是:是否可以在配置中添加类似 enableField 机制的东西? 我想要像你从常规 tt_content 元素中知道的开始、停止、隐藏、组访问等字段[Access] 表。
当然可以自己添加字段,并在"Main" 部分添加一些条件,但这会让人哭笑不得,我想这不会达到目的,因为我认为会有缓存问题
【问题讨论】: