[TYPO3-english] Re: Fluid: content rendered twice

TSniper masmoudi_moha at yahoo.fr
Thu Apr 28 10:41:21 CEST 2016


Quote: amadeo Marketing &amp wrote on Wed, 27 April 2016 16:26
----------------------------------------------------
> Am 27.04.2016 um 16:15 schrieb TSniper:
> > Quote: ondro (gondro) wrote on Wed, 27 April 2016 16:11
> > ----------------------------------------------------
> >> Hmm now I'm little confused where did you put ts?
> > ----------------------------------------------------
> > I put :
> > ....
> > 10 = FLUIDTEMPLATE
> >     10 {
> >         variables {
> >             lib.myCol < styles.content.get
> >                        ........
> 
> This example should give you the direction:
> 
> #
> # TS Setup
> # Loading Template
>    10 = FLUIDTEMPLATE
>    10 {
> 
>      file = fileadmin/templates/index.html
> 
>      layoutRoootPath = fileadmin/templates/layouts/
>      partialRootPath = fileadmin/templates/partials/
> 
>      variables {
>        layout = TEXT
>        layout.data = levelfield:-1, backend_layout_next_level, slide
>        layout.override.field = backend_layout
>      }
> 
>    }
> 
> # Putting content into place
> lib.mainContent < styles.content.get
> lib.mainContent.select.where = colPos = 1
> 
> #
> #
> # addition in template-file (like the above index.html in fileadmin/templates):
> <f:cObject typoscriptObjectPath="lib.mainContent" />
----------------------------------------------------

Thank you for all and for you Amadeo, it is a good example test it and it works!


More information about the TYPO3-english mailing list