[TYPO3-english] Re: Fluid: content rendered twice
TSniper
masmoudi_moha at yahoo.fr
Wed Apr 27 10:43:54 CEST 2016
Quote: ondro (gondro) wrote on Wed, 27 April 2016 10:40
----------------------------------------------------
> can you provide fluidpage config (fluidpage html with whole config etc...)
----------------------------------------------------
thank for your interest, this is the page (Template):
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers">
<f:layout name="HomeLayout" />
<f:section name="Configuration">
<flux:form id="home" options="{icon: '{f:uri.resource(path: \'Icons/Page/Home_with_slider.png\')}'}">
<flux:field.input name="settings.searchFieldName" default="search" />
<flux:grid>
<flux:grid.row>
<flux:grid.column colPos="3" name="header" colspan="4" />
</flux:grid.row>
<flux:grid.row>
<flux:grid.column colPos="1" name="left" />
<flux:grid.column colPos="0" name="main" colspan="2"/>
<flux:grid.column colPos="2" name="right" />
</flux:grid.row>
</flux:grid>
</flux:form>
</f:section>
<f:section name="Preview">
</f:section>
<f:section name="Header">
<div id="header">
<v:content.render column="3"/>
</div>
</f:section>
<f:section name="Main">
<div id="main-content">
<v:content.render column="0"/>
</div>
</f:section>
</div>
and this is the (Layout) :
<!-- wrapper -->
<div id="wrapper">
<div class="container">
<f:render section="Main" />
</div>
</div><!-- /wrapper -->
More information about the TYPO3-english
mailing list