fluid_styled_content 的 fluidcontent 中的 allowedContentTypes

allowedContentTypes in fluidcontent for fluid_styled_content

对于我的模板,我使用的是流体驱动的 TYPO3 扩展(flux、vhs、fluidpages、fluidcontent)。 对于默认模板,我正在使用 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吗?

我的设置: 打字错误3 7.6.2 通量:7.3.0 流体内容:4.4.0 流体页面:3.4.0

在 fluid_styled_content 中不再有 texttextpic CType。现在叫textmedia。所以尝试:

<flux:grid.column colPos="1" variables="{allowedContentTypes: 'textmedia'}" />