流体动力TYPO3 FLUX流体含量-前端无输出? [英] Fluid Powered TYPO3 FLUX Fluidcontent - No Output in Frontend?
问题描述
我已经使用以流体为动力的TYPO3 进行了TYPO3安装6.2.9-Pre的第一步-配置的分发"站点"就可以了.我的站点/页面模板已安装,并且我添加了所有TypoScript内容.
I've made a TYPO3-Installation 6.2.9 with Fluid powered TYPO3 - the first steps with the Pre-configured Distribution "Site" were fine. My Site/Page-Template is installed and I added all the TypoScript stuff.
现在,我想将FLUIDCONTENT(FCE)与FLUX一起使用.我添加了一个新的模板文件TeaserOne.html
,并尝试使用发行版Content.html
中的布局.
Now I want to use FLUIDCONTENT (FCE) with FLUX. I've added a new Template-File TeaserOne.html
and I try to use the Layout from the Distribution Content.html
.
现在我可以在Backend中看到并写入我的输入字段,但是Frontend中没有输出?我还需要什么?
我只看到内容元素标题.不是FLEXform.
我正在使用flux (7.1.2)
,fluidpages (3.1.2)
,fluidcontent (4.1.1)
,fluid_core (1.0.2)
和vhs (2.1.4)
的最新版本.
静态模板"fluidcontent_core"已通过预配置的分发包提供.
I only see the Content-Element Headline. Not the FLEXform.
I'm using the latest Versions of flux (7.1.2)
, fluidpages (3.1.2)
, fluidcontent (4.1.1)
, fluid_core (1.0.2)
and vhs (2.1.4)
.
The static template "fluidcontent_core" was included via pre-configured Distribution.
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" />
推荐答案
似乎缺少CType fluidcontent_content的前端呈现配置.您是否将以下内容添加到typo3conf/AdditionalConfiguration.php中:
It seems that the frontend rendering configuration for the CType fluidcontent_content is missing. Did you add the following to your typo3conf/AdditionalConfiguration.php:
<?php
$GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'] = array('fluidcontentcore/Configuration/TypoScript/');
这篇关于流体动力TYPO3 FLUX流体含量-前端无输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!