---
title: "Nochmal Problem mit subparts"
url: "https://www.typo3.net/d/22698-nochmal-problem-mit-subparts"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2005-03-20"
last_reply: "2005-03-20"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# Nochmal Problem mit subparts

Allgemein · 0 Antworten · gestartet 2005-03-20

## Eröffnungsbeitrag

**dianoia** · 2005-03-20 · [Beitrag #1](https://www.typo3.net/d/22698-nochmal-problem-mit-subparts/1)

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:

```typoscript
               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

---

Quelle: „Nochmal Problem mit subparts“, typo3.net, https://www.typo3.net/d/22698-nochmal-problem-mit-subparts
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
