我已经使用流体驱动的 TYPO3进行了 TYPO3 安装 6.2.9 - 使用预配置分发“站点”的第一步很好。我的站点/页面模板已安装,并且我添加了所有 TypoScript 内容。
现在我想将 FLUIDCONTENT (FCE) 与 FLUX 一起使用。我添加了一个新的 Template-FileTeaserOne.html
并尝试使用 Distribution 中的 Layout Content.html
。
现在我可以在后端看到并写入我的输入字段,但我在前端没有输出?!我还需要什么?
我只看到内容元素标题。不是 FLEXform。我正在使用flux (7.1.2)
、fluidpages (3.1.2)
、fluidcontent (4.1.1)
和fluid_core (1.0.2)
的最新版本vhs (2.1.4)
。静态模板“fluidcontent_core”是通过预配置的分发包含的。
myext/Resources/Private/Templates/TeaserOne.html
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
f:schemaLocation="https://fluidtypo3.org/schemas/fluid-master.xsd"
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers"
flux:schemaLocation="https://fluidtypo3.org/schemas/flux-master.xsd">
<f:layout name="Content" />
<f:section name="Configuration">
<flux:form id="fluidcontenttest" options="{icon: 'Icons/Content/Hello.gif', group: 'New Elements'}">
<flux:field.text name="teasertext" label="hier lorem eintragen" rows="5" cols="30" required="FALSE" />
</flux:form>
</f:section>
<f:section name="Preview">
<table width="100%">
<tr>
<td width="30%">Ausgabe:</td>
<td width="70%">
<f:format.crop maxCharacters="100">{teasertext}</f:format.crop>
</td>
</tr>
</table>
</f:section>
<f:section name="Main">
<h3>TEST: I am a content element! But no Output?</h3>
<p> {teasertext} </p>
</f:section>
</div>
myext/Resources/Private/Layouts/Content.html
<f:layout name="Content" />
<f:render section="Main" />