Zum Inhalt springen

Dateiverweise???

Erstellt am 2. Juli 2004 · 2 Antworten · letzte Antwort am 2. Juli 2004

Tags: Frage

kiwi ·

Ich schon wieder :o #paralyzed#

Diesmal hab ich folgendes Problem:

seite = PAGE
seite.typeNum = 0
seite.headerData.10 < template.headTemplate
seite.10 < template.mainTemplate
seite.10.marks.INHALTE = CONTENT
seite.10.marks.INHALTE {
table = tt_content
select.max = 1
select.begin = 0
pidInList = this
orderBy = sorting
}
seite.10.marks.INHALTE2 = CONTENT
seite.10.marks.INHALTE2 {
table = tt_content
select.max = 1
select.begin = 1
pidInList = this
orderBy = sorting
}
seite.10.marks.INHALTE3 = CONTENT
seite.10.marks.INHALTE3 {
table = tt_content
select.max = 1
select.begin = 2
pidInList = this
orderBy = sorting
}
seite.10.marks.INHALTE4 = CONTENT
seite.10.marks.INHALTE4 {
#wrap = <td>|</td>
table = tt_content
select.max = 1
select.begin = 3
pidInList = this
orderBy = sorting
}

Ich liste praktisch 4 Inhalte nebeneinander auf. Das hat zur Folge, das er Dateiverweise nicht mitauflistet. Ich weiß das es an

select.max = 1
select.begin = 3

liegt. Nun ist meine Frage ob es "table = tt_content" also Verweise auch für Dateiverweise gibt. Ist das verständlich?

doku ·

beispielcode:

seite.10.marks.INHALTE4 = CONTENT 
seite.10.marks.INHALTE4 { 
#wrap = <td>|</td> 
table = tt_content 
select.where = colPos=0
select.max = 1 
select.begin = 3 
pidInList = this 
orderBy = sorting 
}

mit select.where = colPos=0 gibst du an, daß er nur einträge in der "normal"-spalte deines backends berücksichtigt. entsprechend setzt du dort 1,2 oder 3 für die anderen spalten ein.

als lösungsansatz sollte das mehr als ausreichend sein... 😉