Typo3 模板提供程序扩展是否需要知道选择的后端布局。?请更准确地解释您的要求。@AnuBhuvanendranNair我需要流体通量模板中的模板名称。由于我使用的是提供程序扩展,我无法使用$GLOBALS['TSFE']arrayI从{u all.sections

Typo3 模板提供程序扩展是否需要知道选择的后端布局。?请更准确地解释您的要求。@AnuBhuvanendranNair我需要流体通量模板中的模板名称。由于我使用的是提供程序扩展,我无法使用$GLOBALS['TSFE']arrayI从{u all.sections,typo3,flux,fluid-layout,extbase,Typo3,Flux,Fluid Layout,Extbase,模板提供程序扩展是否需要知道选择的后端布局。?请更准确地解释您的要求。@AnuBhuvanendranNair我需要流体通量模板中的模板名称。由于我使用的是提供程序扩展,我无法使用$GLOBALS['TSFE']arrayI从{u all.sections}获得了tx_fed_页面控制器动作。谢谢您的帮助我从{u all.sections}获得了tx_fed_页面控制器动作。谢谢您的帮助 <v:page.menu levels="1" as="sections">


模板提供程序扩展是否需要知道选择的后端布局。?请更准确地解释您的要求。@AnuBhuvanendranNair我需要流体通量模板中的模板名称。由于我使用的是提供程序扩展,我无法使用$GLOBALS['TSFE']arrayI从{u all.sections}获得了tx_fed_页面控制器动作。谢谢您的帮助我从{u all.sections}获得了tx_fed_页面控制器动作。谢谢您的帮助
 <v:page.menu levels="1" as="sections">
                    <f:for each="{sections}" as="section" iteration="itemIteration">

     <f:debug>{sections}</f:debug>
    </f:for>
                </v:page.menu>
<f:layout name="Pagewithnav" />
    <f:section name="Configuration">
        <flux:form id="subnav" icon="{f:uri.resource(path: 'Icons/Page/logo.png')}" label="Sub Navigation">
            <!-- Insert fields, sheets, grid, form section objects etc. here, in this flux:form tag -->
        </flux:form>
        <flux:grid>
            <!-- Edit this grid to change the "backend layout" structure -->
            <flux:grid.row>
                <flux:grid.column colPos="0" colspan="4" name="main" label="Navigation wrapper" />
            </flux:grid.row>
            <flux:grid.row>
                <flux:grid.column colPos="1" colspan="4" name="main" label="Main wrapper" />
            </flux:grid.row>
        </flux:grid>
    </f:section>
    <f:section name="Main">
        <div class="sub_nav">
           <div class="container">
               <v:content.render column="0"/>
           </div>
        </div>
        <div class="container">
            <v:content.render column="1"/>
        </div>
    </f:section>
lib.templateName = TEXT
lib.templateName.stdWrap.cObject = CASE
lib.templateName.stdWrap {
    cObject = TEXT
    cObject {
        data = levelfield:-2,backend_layout_next_level,slide
        override.field = backend_layout
        split {
            token = pagets__
            1.current = 1
            1.wrap = |
        }
    }
    ifEmpty = Default
}

page = PAGE
page.10 = FLUIDTEMPLATE
page.10 {
    #...
    variables.templateName < lib.templateName
}