I am using Typo3.6.4 on Mac OS.
I want to get the content from an additional page. The content is on the 3rd subpage and should be displayed on the "page" with TypoScript:
Page
-SubPage 1
-SubPage 2
-SubPage 3
I tried this code on Typo3.6.0 with Windows and worked. But not with Typo3.6.4 on Mac OS.
MIDBLOCK = CONTENT
MIDBLOCK {
stdWrap.wrap = |
table = pages
select.orderBy = sorting
select.pidInList.if.isTrue.field = pages
select.pidInList.field = pages
renderObj = COA
renderObj {
stdWrap.wrap = |
10 = CONTENT
10.wrap = <div><h1>|</h1>
10 {
table = tt_content
select.pidInList.field = uid
select.where = colPos = 1
select.orderBy = sorting
renderObj = COA
renderObj.10 = TEXT
renderObj.10.field = header
}
20 = TEXT
20.value = Event
20.typolink.parameter.field = uid
30 = TEXT
30.wrap = </div><div><h2>|</h2>
30.field = title
40 = CONTENT
40 {
table = tt_content
select.pidInList.field = uid
select.where = colPos = 0
select.orderBy = sorting
renderObj = COA
renderObj.10 = TEXT
renderObj.10 {
field = bodytext
crop = 20| ... |1
}
}
50 = TEXT
50.wrap = <br /><br />|</div>
50.value = > [More]
50.typolink.parameter.field = uid
}
}
Lynxi source
share