[TYPO3-english] How to get my other FE templates?

"HocomAdvies [  Wiechert Hooghwinkel "HocomAdvies [  Wiechert Hooghwinkel
Thu May 11 07:52:10 CEST 2017


Hi, thanks for your reply. One question, what will be in the variables { part than? 

> Op 10 mei 2017, om 20:29 heeft Christian Hackl <hackl.chris at googlemail.com> het volgende geschreven:
> 
> no really answer,  but i think key.data = pagelayout dont work in older typo3 versions.
> 
> you can use the "old" way:
> 
> e.g.:
> 
> 
> 10 = FLUIDTEMPLATE
> 10 {
>   format = html
>   partialRootPath = {$theme.urls.themeResources}Private/Html/Partials/
>   layoutRootPath = {$theme.urls.themeResources}Private/Html/Layouts/
> 
>   file.cObject = CASE
>   file.cObject {
>     key.data = levelfield:-1, backend_layout_next_level, slide
>     key.override.field = backend_layout
> 
>     default = TEXT
>     default.value = {$theme.urls.themeResources}Private/Html/OneColumn.html
>     pagets__2 = TEXT
>     pagets__2.value = {$theme.urls.themeResources}Private/Html/NavLeftOneColumn.html
>     pagets__3 = TEXT
>     pagets__3.value = {$theme.urls.themeResources}Private/Html/NavLeftBannerOneColumn.html
>   }
> 
>   variables {
> 
>     layout = TEXT
>     layout.data = levelfield:-1,backend_layout_next_level,slide
>     layout.override.field = backend_layout
>     .
>     .
>     .
> 
> 
> and you dont need fe-template switch in the backend If they are dependent on each other:
> 
> TCEFORM.pages {
>   layout.disabled = 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