0

在 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>and 和<f:format.raw>.
编辑:好吧,即使很明显,我也确保我在正确的页面上(uid=2)。

任何人都可以帮忙吗?谢谢。我正在运行 T3 7.6.9

4

1 回答 1

1

好吧,我知道这是显而易见的:

我忘了包括fluid_styled_content包含在内。

于 2016-06-16T20:50:47.483 回答