【发布时间】:2016-12-22 08:55:53
【问题描述】:
我有一个带有单页布局的 Typo3 网站。该网站有几个部分(新闻、投资组合、幻灯片、...)。每个部分都有自己特定的布局/模板。在 Typo3 中,我将此部分作为带有自己模板的子页面。以下来自教程的代码以正确的顺序为我提供了此子页面的内容。
lib.sectionContent {
1 = TMENU
1 {
NO = 1
NO {
doNotLinkIt = 1
stdWrap >
stdWrap {
cObject = COA
cObject {
if.value = 5
if.equals.field = doktype
if.negate = 1
10 < temp.titleSectionId
10.wrap = <section id="|" class="page-section" style="margin-top: 30px;">
20 = CONTENT
20 {
table = tt_content
select {
pidInList.field = uid
}
renderObj < tt_content
}
30 = TEXT
30 {
wrap = </section>
}
}
}
}
}
}
但我也需要使用过的模板。我需要一种将子页面与其模板集成到父页面/单页网站中的方法。
【问题讨论】: