TYPO3を7.6から8.6にアップグレードしました。 今、私はstyle.content.getで変数を設定できません。私のルートテンプレートはfluid_styled_contentを読み込みます。 いくつかのソース:TYPO3流体変数
page.10 = FLUIDTEMPLATE
page.10 {
partialRootPath ={$resDir}/Private/Partials
layoutRootPath = {$resDir}/Private/Layouts
variables {
contentMain < styles.content.get
contentMain.select.where = colPos = 0
contentnew < styles.content.get
contentnew.select.where = colPos = 1
contentkat < styles.content.get
contentkat.select.where = colPos = 2
test = TEXT
test.value = loool
}
}
表示変数:
<f:format.raw> {contentMain} </f:format.raw>
<f:format.raw> {contentnew} </f:format.raw>
<f:format.raw> {contentkat} </f:format.raw>
<f:format.raw> {test} </f:format.raw>
私の解決方法であなたの決定である – Gang
あなた自身の答えを削除することをお勧めします。私は 'temp.content 'の使用を提案しました。 「temp.」で始まるすべてのTSオブジェクトがレンダリング実行前に削除され、より小さな構成アレイが得られるので、「取得」する。特にコピーされたプロトタイプの場合、レンダリング時に知る必要はありません。 –