[TYPO3-english] How to get my other FE templates?
"HocomAdvies [ Wiechert Hooghwinkel
"HocomAdvies [ Wiechert Hooghwinkel
Thu May 11 14:33:49 CEST 2017
It’s getting more complex by the minute :)
In my folder /Layouts/layout1.template which has:
<f:render partial=“Header" />
<f:render section=“Main" />
<f:render partial=“Footer" />
layout2.template which has:
<f:render partial=“Header” />
<f:render section=“Main" />
<f:render partial=“My Other_Footer” />
In my folder /Templates/my_template.html
I have: <f:layout name=“layout2” /> which than
So Am I wrong to use more than one layoutfile.template ? And better have al in one file using the condition like you mention?
Would be nice if I can see a good working set-up somewhere, to get a better understanding of it (is there a github which has this set-up?)
Regards,
Wiechert
> Op 11 mei 2017, om 12:56 heeft Christian Hackl <hackl.chris at googlemail.com> het volgende geschreven:
>
> ähm, what you want?! or nothing.
>
> If you have this:
>
> layout = TEXT
> layout.data = levelfield:-1,backend_layout_next_level,slide
> layout.override.field = backend_layout
>
> in the variables than you can use the var 'layout' in your viewhelper e.g.: <f:if condition="{layout} == 'pagets__1'">
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list