[英]TYPO3: variables not working
在T3中使用變量無效。
實際上,我只是從工作站點復制了代碼片段。
TS:
page.10 = FLUIDTEMPLATE
page.10.variables {
content < styles.content.get
content.select.where = colPos=0
info < styles.content.get
info.select.where = colPos=1
}
在HTML模板中:
<f:format.html parseFuncTSPath="">{info}</f:format.html>
<f:format.html parseFuncTSPath="">{content}</f:format.html>
包含了模板,並添加了一個隨機<hr/>
以確保更改顯示在FE中。
虛擬內容將插入到BE的正確列中(colPos 0和1)。
也嘗試過,而不<f:format.html>
並用<f:format.raw>
編輯:嗯,即使很明顯,我也確保我在正確的頁面上(uid = 2)。
有人可以幫忙嗎? 謝謝。 我正在運行T3 7.6.9
好吧,我知道這很明顯:
我忘了包括fluid_styled_content
在內。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.