[英]enableFields in Fluid powered TYPO3 Section -> Object
I'm just starting to use Fluid powered TYPO3 now (with the great extensions from Claus Due [flux, fluidpages, fluidcontent, vhs, etc.]) 我现在才开始使用流体动力的TYPO3(具有Claus Due的强大扩展功能[通量,流体页面,流体含量,vhs等])
What I want to do is: 我想做的是:
My Flexform configuration in the Content Template File (in folder EXT:myext/Resources/Private/Templates/Content) looks something like this 我在内容模板文件(位于EXT:myext / Resources / Private / Templates / Content文件夹中)中的Flexform配置看起来像这样
<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>
My question now: Is it possible to add in the configuration something like the enableField mechanism? 现在我的问题是: 是否可以在配置中添加诸如enableField机制之类的内容? I want to have fields like start, stop, hidden, group access as you know from regular tt_content element in the
[Access]
Sheet. 我想从
[Access]
表中的常规tt_content元素中获得开始,停止,隐藏,组访问等字段。
Of course it is possible to add the field by myself and the add some confitions in the "Main"
section, but that would be tearse and I guess it would not serve the purpose as I suppose there will be cache issues 当然,可以自己添加该字段,并可以在
"Main"
部分添加一些配置,但是那会让人有些眼泪,我想这不会达到目的,因为我想会出现缓存问题
Ahoi there! 啊!
As you are using fluidcontent, you have the {record}
variable available. 在使用fluidcontent时,您可以使用
{record}
变量。 This variable contains all the stored information of the parent record. 此变量包含父记录的所有已存储信息。
For fiddeling around, what's available, do a {record -> f:debug()}
in your template and have a look at the available fields. 要查找可用的内容,请在模板中进行
{record -> f:debug()}
record- {record -> f:debug()}
,然后查看可用字段。 Your desired values should also be present. 您所需的值也应该存在。
Be aware that: 意识到:
Cheers, Cedric 干杯,塞德里克
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.