流体动力TYPO3 FLUX Fluidcontent - 前端无输出?

时间:2015-02-06 12:56:17

标签: output typo3 frontend fluid flux

我已经使用Fluid powered TYPO3制作了TYPO3-Installation 6.2.9 - 预先配置发布的第一步" Site"我们很好。我的网站/页面模板已安装,我添加了所有TypoScript内容。

现在我想在FLUX中使用FLUIDCONTENT(FCE)。我添加了一个新的模板文件TeaserOne.html,并尝试使用发布中的布局Content.html

现在我可以在Backend中看到并写入我的输入字段,但我在前端没有输出?!我还需要什么?

我只看到内容元素标题。不是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 /资源/专用/模板/ 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 /资源/专用/布局/ Content.html

<f:layout name="Content" />
<f:render section="Main" />

Backend

File structure

typoscript

1 个答案:

答案 0 :(得分:2)

似乎缺少CType fluidcontent_content的前端渲染配置。您是否在typo3conf / AdditionalConfiguration.php中添加了以下内容:

<?php
$GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'] = array('fluidcontentcore/Configuration/TypoScript/');