我是流体内容的新手。为了深入了解这些内容,我使用了文档。但现在我到了一个我不知道我的错在哪里的时候。
我添加了 HTML 布局的 Skeltron。但现在我想知道为什么不呈现设置到 Typo3 后端的内容。
页面.html
<f:layout name="Page" />
<f:render section="Main" />
<div id="page" class="{settings.pageClass}">
<div id="sidebar">
<f:render section="Sidebar" />
</div>
<div id="content">
<f:render section="Content" />
</div>
</div>`
MyPageTemplate.html
<f:layout name="Page" />
<f:section name="Configuration">
<flux:form id="fluidfluxform" label="Fluid/FluxForm" icon="{f:uri.resource(path: 'Icons/Page.gif')}">
<!-- Input field for Fluid variable 'pageClass' -->
<flux:field.input name="settings.pageClass" default="some-css-class" />
<!-- Backend layout grid (TYPO3 6.x and greater only) -->
<flux:grid>
<flux:grid.row>
<flux:grid.column colPos="1" name="Content" style="width: 75%" />
<flux:grid.column colPos="0" name="Sidebar" style="width: 25%" />
</flux:grid.row>
</flux:grid>
</flux:form>
</f:section>
<f:section name="Main">
Main render
</f:section>
<f:section name="Content">
<!-- Render colPos=0 in this section -->
fdgfdgfdg
<v:content.render column="1" />
</f:section>
<f:section name="Sidebar">
<!-- Render colPos=1 in this section -->
sdfsdfsdfsdfsdf
<v:content.render column="0" />
</f:section>
添加了页面配置中的提供者扩展 TypoScript。显示了 Page.html 骨架,还显示了 fgfgfgffg、sdfsdfsdf 和 Main 渲染。只有 render.content 不起作用。
有人有想法吗?
Typo 6.2.4 - Apache - Ubuntu。
谢谢您的帮助!