Hi,
ich habe mir einen Page Teaser mit Typoscript gebastelt. Der funktioniert auch soweit. Allerdings hätte ich die Ausgabe auch gerne noch dem Seitentitel sortiert. Kann mir da jemand helfen ?
Gruß Bav
workOnSubpart = DOCUMENT_BODY
subparts.INHALT2 = COA
subparts.INHALT2 {
30 = CONTENT
30 {
table = pages
select {
pidInList = this
recursive = 1
orderBy = sorting
}
renderObj = COA
renderObj {
30 = CONTENT
30 {
table = tt_content
select {
pidInList.field = uid
orderBy = sorting
}
}
30 = CONTENT
30 {
table = tt_content
select {
where = colPos = 2
max = 1
orderBy = sorting
}
renderObj = COA
renderObj {
1 = TEXT
1.field = pid
1.wrap = <div class="news-grid"><a href="index.php?id=|">
2 = TEXT
2.field = image
2.wrap = <img src="uploads/pics/|" width="296" height="150"border="0" alt="">
3 = TEXT
3.field = header
3.wrap = <h3>|</h3>
4 = TEXT
4.field = bodytext
4.crop = 100|...|1
4.wrap = <p class="teaser">|</p>
5 = TEXT
5.wrap =</a> </div>
}
}
}
}
}