Hi, ich möchte zwei subparts meines HTML-Templates (subCONTENT_1 und subCONTENT_2) jeweils nur den header und den bodytext des content-elements zuweisen. Es werden mir aber in beide subparts der header und der bodytext geschrieben.
Ich habe es so probiert:
subCONTENT_1 = CONTENT
subCONTENT_1 {
table = tt_content
tt_content {
10 = TEXT
10.field = header
10.wrap = <b> | </b><br>
}
select {
where = colPos=0
begin = 0
max = 1
orderBy = sorting
}
}
subCONTENT_2 = CONTENT
subCONTENT_2 {
table = tt_content
tt_content {
10 = TEXT
10.field = bodytext
}
select {
where = colPos=0
begin = 0
max = 1
orderBy = sorting
}
}
Danke für Eure Hilfe!
Jens