0
对于我的模板,我使用的是流体驱动的TYPO3扩展(flux,vhs,fluidpages,fluidcontent)。 对于默认模板,我正在使用fluid_styled_content。allowedContentTypes in fluidcontent for fluid_styled_content
我可以用下面的标记限制的内容类型:
<flux:grid.column colPos="2" name="hero" label="Hero Image">
<flux:form.variable name="allowedContentTypes" value="fluidcontent_content" />
<flux:form.variable name="Fluidcontent" value="{allowedContentTypes: 'Vendor.ExtensionName:HeroImage.html'}" />
</flux:grid.column>
但现在我想限制只允许一个fluid_styled_content元素。 我尝试以下,但它不工作:
<flux:grid.column colPos="1" variables="{allowedContentTypes: 'text,textpic'}" />
难道是因为我使用fluid_styled_content而不是css_styled_content?
我的设置: TYPO3 7.6.2 流量:7.3.0 fluidcontent:4.4.0 fluidpages:3.4.0
它总是小写的模板文件名吗?为什么流体内容中的命名约定不同? – kimomat