I have setup a distribution which also provides PageTS for backend_layouts.
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:'. $_EXTKEY .'/Configuration/TSconfig/Page.txt">');
and this is how content is assigned with TypoScript
page.20 = FLUIDTEMPLATE
page.20 {
partialRootPath = {$resDir}/Private/Partials
layoutRootPath = {$resDir}/Private/Layouts
file.stdWrap.cObject = CASE
file.stdWrap.cObject {
key.data = levelfield:-1, backend_layout_next_level, slide
key.override.field = backend_layout
# das default template 2spaltig
default = TEXT
default.value = {$resDir}/Private/Templates/Landing.html
# das LandingPage backend layout 3 spaltig
pagets__1 = TEXT
pagets__1.value = {$resDir}/Private/Templates/Landing.html
# das 2spaltige backend layout
pagets__2 = TEXT
pagets__2.value = {$resDir}/Private/Templates/Default.html
}
variables {
kopf < styles.content.get
kopf.select.where=colPos=5
contentLeft < styles.content.get
contentLeft.select.where=colPos=1
contentMain < styles.content.get
contentMain.select.where=colPos=0
contentRight < styles.content.get
contentRight.select.where=colPos=2
}
}
Problem is:
No matter what I do I dont get colPos 5 rendered in Frontend. It seems like only colPos 0(main),1(left),2(right) are allowed. But the Content is saved to database and has a 5 in the colpos field. And no result whatsoever for colPos 5.
I use fluid_styled_content only - no css_styled_content. And it is included before my distribution in Template Setup.
UPDATE this is on nginx with php7.0-fpm & mysql 5.6
forgot to to say that the kopf variable is used in a Partial, so it is exactly the same problem as stated here partial variable problem