0

我有以下页面模板:

<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
     xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
     xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
     xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers">

    <f:layout name="Page"/>

    <f:section name="Configuration">
        <flux:form id="standard">
            <flux:field.input name="settings.claim1" />
            <flux:field.input name="settings.claim2" />
            <flux:field.inline.fal name="settings.stageImage" maxItems="1" minItems="0" />
        </flux:form>
        <flux:grid>
            <!-- Edit this grid to change the "backend layout" structure -->
            <flux:grid.row>
                <flux:grid.column colPos="0" name="main"/>
            </flux:grid.row>
        </flux:grid>
    </f:section>

    <f:section name="Main">
        <div class="page-wrapper">
            <f:render partial="Header" section="Content"/>
            <f:render partial="Stage" section="Content" arguments="{_all}" />
            <f:render partial="Breadcrumb" section="Content"/>
            <v:content.render column="0"/>
        </div>
    </f:section>
</div>

这是我唯一拥有并且仅在我的根页面上选择的。所有其他页面都继承该模板。

我该怎么做才能将配置的值继承到子页面?我已经按照 ViewHelper 参考中的建议为字段尝试了 inherit="true",但我不知道如何处理“如果 ConfigurationProvider 启用了继承”的信息。

我正在使用 T3 7.6 和最新的 TER 版本的 Flux、Fluidpages 等。

4

1 回答 1

0

在编辑你的根页面时,你是否将子页面的后端布局设置为流体页面?

在布局选项卡中将后端布局设置为流体页面

于 2016-03-02T10:28:05.950 回答