1

Flux、VHS、fluidcontent、fluidpages のすべての最新バージョンで TYPO3 6.2.7 を使用しています。

使用しているページ テンプレートは、バックエンドのコンテンツ エリアをレンダリングしません。デフォルトの TYPO3 列のみが表示されます。

これはフロントページ用の私のテンプレートです。

{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>

また、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>

何が問題なのかわかりますか?古いバージョンのフラックスなどをいくつか試しましたが、問題は解決しませんでした。

敬具、セーレン

4

1 に答える 1