好的 styles.content.getLeft
Typo3 styles.content.getLeft
实际上我在 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_content 或 fluid_styled_content? fluid_styled_content 是最先进的扩展,广泛兼容 css_styled_content.
fluid_styled_content 有 no getLeft 组件!您可以轻松地自己定义它:
styles.content {
getLeft < .get
getLeft.select.where = colPos = 1
}
使用 TypoScript 对象浏览器检查 styles 组件以获取详细信息。
实际上我在 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_content 或 fluid_styled_content? fluid_styled_content 是最先进的扩展,广泛兼容 css_styled_content.
fluid_styled_content 有 no getLeft 组件!您可以轻松地自己定义它:
styles.content {
getLeft < .get
getLeft.select.where = colPos = 1
}
使用 TypoScript 对象浏览器检查 styles 组件以获取详细信息。