Man*_*tti 2 fluid typoscript typo3-7.6.x
实际上我在Typo 7.6.12的typo3模板上工作.我的问题是我无法从左,右或边栏列中获取我的内容.只有正常工作.
我的想法是,用户可以编辑左列的页脚元素和普通列的基本内容.
那是我的代码:
...
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
}
}
...
Run Code Online (Sandbox Code Playgroud)
和我的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>
Run Code Online (Sandbox Code Playgroud)
使用footer.slide = -1我希望在所有页面上继承页脚模块.
它真的很混乱,因为正常的列正在处理任何问题,如果我使用它上面的模块.但是任何其他专栏都不起作用.Debug输出NULL.使用较旧的Typo3版本,它可以毫无问题地工作
CSS内容包括在内.
如果有人有任何想法会很酷.最好的答案谢谢.
小智 7
你有css_styled_content还是fluid_styled_content?fluid_styled_content是最先进的扩展,与css_styled_content广泛兼容.
fluid_styled_content有没有 getLeft分量!您可以自己轻松定义它:
styles.content {
getLeft < .get
getLeft.select.where = colPos = 1
}
Run Code Online (Sandbox Code Playgroud)
使用TypoScript对象浏览器检查样式组件以获取详细信息.
| 归档时间: |
|
| 查看次数: |
936 次 |
| 最近记录: |