gpt4 book ai didi

typoscript - 错别字 styles.content.getLeft

转载 作者:行者123 更新时间:2023-12-02 15:15:43 24 4
gpt4 key购买 nike

实际上,我在 Typo 7.6.12 上处理一个 typo3 模板。我的问题是我无法从 Left、Right 或 Border 列中获取我的内容。只有正常工作。

我的想法是,用户可以在左栏编辑页脚元素,在普通栏编辑基本内容。

那是我的代码:

...
10 = FLUIDTEMPLATE
10 {
file = fileadmin/templates/gtstemplate/index.html
layoutRootPath = fileadmin/templates/gtstemplate/layouts/
partialRootPath = fileadmin/templates/gtstemplate/html/partials/

variables {
content < styles.content.get

footer < styles.content.getLeft
footer.slide = -1
}
}
...

和我的 html 代码。

<div id="containerStart" class="container">
<f:format.html parseFuncTSPath="">{content}</f:format.html>
</div>

<footer>
<f:format.html parseFuncTSPath="">{footer}</f:format.html>
<f:debug title="Results of customers query">{footer}</f:debug>
</footer>

使用 footer.slide = -1 我希望所有页面都继承页脚模块。

这真的很令人困惑,因为如果我使用它上面的模块,普通列会遇到任何问题。但是任何其他列都不起作用。Debug 输出 NULL。对于旧的 Typo3 版本,它可以正常工作

包含 CSS 内容。

如果有人有任何想法会很酷。最好的答案谢谢。

最佳答案

您是否包含了 css_styled_contentfluid_styled_contentfluid_styled_content 是最先进的扩展,与 css_styled_content 广泛兼容。

fluid_styled_content 没有 getLeft 组件!您可以轻松地自己定义它:

styles.content {
getLeft < .get
getLeft.select.where = colPos = 1
}

使用 TypoScript 对象浏览器检查 样式 组件的详细信息。

关于typoscript - 错别字 styles.content.getLeft,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40764610/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com