PGrid和CGrid不渲染
我将TYPO3 6.2.7与Flux、VHS、fluidcontent和FluidPage的所有最新版本一起使用 im使用的页面模板不会在后端呈现内容区域。 它只显示默认的TYPO3列 这是我的frontpage模板PGrid和CGrid不渲染,grid,fedext,Grid,Fedext,我将TYPO3 6.2.7与Flux、VHS、fluidcontent和FluidPage的所有最新版本一起使用 im使用的页面模板不会在后端呈现内容区域。 它只显示默认的TYPO3列 这是我的frontpage模板 {namespace v=Tx_Vhs_ViewHelpers} {namespace flux=FluidTYPO3\Flux\ViewHelpers} <f:layout name="FrontPage" /> <div xmlns="http://www.w
{namespace v=Tx_Vhs_ViewHelpers}
{namespace flux=FluidTYPO3\Flux\ViewHelpers}
<f:layout name="FrontPage" />
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:v="http://fedext.net/ns/vhs/ViewHelpers"
xmlns:flux="http://fedext.net/ns/flux/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:section name="Configuration">
<flux:form id="frontpage" label="Startseite">
<flux:grid>
<flux:grid.row>
<flux:grid.column colPos="0" name="content" />
</flux:grid.row>
</flux:grid>
</flux:form>
</f:section>
<f:section name="Resources">
<f:render partial="headerData" section="frontpage" />
</f:section>
<f:section name="Content">
<v:content.render column="0" />
</f:section>
<f:section name="Header">
<f:render partial="Header" />
</f:section>
</div>
{namespace v=Tx_Vhs_ViewHelpers}
{名称空间流量=FluidTYPO3\flux\ViewHelpers}
此外,im与fluidcontent一起使用的元素也存在问题。
它应该是一个简单的框,您可以在其中输入其他内容。
但是“添加内容”按钮不会显示在后端。
这是模板中的一些代码
{namespace flux=FluidTYPO3\Flux\ViewHelpers}
<f:layout name="content" />
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:flux="http://fedext.net/ns/flux/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:section name="Configuration">
<flux:form id="contentbox" options="{group: 'Fluid FCEs', icon: '../typo3conf/ext/sw_fluidfce/Resources/Public/Icons/shadowbox.gif'}" label="Flexible Contentbox" description="Very flexible contentbox. You can just set a padding arround a text or create a shadowbox. You can also create a Header Box or a Link Box.">
<flux:field.checkbox name="shadow" label="Create a shadow" />
<flux:field.checkbox name="nomargin" label="No Margin (Abstand nach unten)" />
<flux:field.checkbox name="nopadding" label="No Padding (Abstand nach innen)" />
</flux:form>
<flux:grid>
<flux:grid.row>
<flux:grid.column name="content" colPos="0" label="Content inner" />
</flux:grid.row>
</flux:grid>
</f:section>
<f:section name="Preview">
<b>Flexible Contentbox</b>
{f:if(condition: '{shadow} == "1"', then: '<br />Wirft Schatten')}
{f:if(condition: '{nomargin} == "1"', then: '<br />Kein Margin (Abstand nach unten)')}
{f:if(condition: '{nopadding} == "1"', then: '<br />Kein Padding (Abstand nach innen)')}
<flux:widget.grid />
</f:section>
<f:section name="Main">
<div class="fce_contentbox {f:if(condition: '{shadow} == "1"', then: 'shadowbox shadow')} {f:if(condition: '{nomargin} == "1"', then: 'nomargin')}">
<div class="fce_contentbox_inner {f:if(condition: '{nopadding} == "1"', then: 'nopadding')}">
<flux:content.render area="content" />
</div>
</div>
</f:section>
</div>
{namespace flux=FluidTYPO3\flux\ViewHelpers}
灵活的内容框
{f:if(条件:{shadow}==“1”,则:'
Wirft Schatten')}
{f:if(条件:{nomargin}==“1”,则:“
Kein-Margin(Abstrand-nach-unten)}”
{f:if(条件:{nopadding}==“1”,则:'
Kein Padding(Abstrand nach innen)}
你知道有什么问题吗?
我尝试了一些旧版本的通量等,但它没有解决问题
致以最良好的祝愿,
Sören关于页面布局:
如果显示默认的TYPO3列,则可能没有在页面记录中选择fluidpages后端布局。在最近的fedext/TYPO3版本中,您需要编辑根页面的属性,并在“外观”选项卡中将“后端布局(仅此页面)”和“后端布局(此页面的子页面)”设置为“Fluidpages”
关于内容要素:
网格中不需要/不允许使用
<代码>自动处理所有事情。你必须这样组织它:
<f:section name="Configuration">
<flux:form>
[...]
<flux:grid>
<flux:grid.row>
<flux:grid.column colPos="0" name="main" />
</flux:grid.row>
</flux:grid>
</flux:form>
</f:section>
[...]
此外,还必须提供一个预览部分,在BE中显示栅格。例:
<f:section name="Preview">
<flux:widget.grid />
</f:section>
或更短:
<f:section name="Configuration">
<flux:form>
[...]
<flux:form.content name="main" />
</flux:form>
</f:section>
[...]
是一行一列带有colPos 0的网格的简写语法。另请参见:谢谢您的回答!但对于内容元素,它仍然不起作用。在1.7的手册中。它说网格应该设置在表单内部。不管怎样,这对双方都不起作用。我还包括了预览部分。你知道还有什么问题吗?