---
title: "wie wrappe ich?"
url: "https://www.typo3.net/d/88233-wie-wrappe-ich"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage","Inhaltselemente"]
created: "2009-03-24"
last_reply: "2009-04-06"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# wie wrappe ich?

TYPO3 › TypoScript · 2 Antworten · gestartet 2009-03-24

## Eröffnungsbeitrag

**sputum** · 2009-03-24 · [Beitrag #1](https://www.typo3.net/d/88233-wie-wrappe-ich/1)

Hallo!

Ich habe folgendes TS:

```typoscript
lib.boxen < plugin.tx_kbcontslide_pi1
lib.boxen.content.select.where = colPos=4
 
# Substitute the ###boxen### subpart with some example content:
 subparts.boxen < lib.boxen
```

Das macht nichts anderes, als mir ce aus einer spalte darzustellen! Ich würde jetzt gerne jedes einzelne CE mit einem DIV wrappen, kriegs aber nicht hin! Wer kann mir helfen?

## Antworten

### [#2](https://www.typo3.net/d/88233-wie-wrappe-ich/2) · kajra · 2009-04-04

probier mal

```typoscript
lib.boxen < plugin.tx_kbcontslide_pi1
lib.boxen = COA
lib.boxen.wrap = <div class="test"> | </div>
```

### [#3](https://www.typo3.net/d/88233-wie-wrappe-ich/3) · sputum · 2009-04-06

Hallo!

Danke, so ähnlich habe ich es dann gelöst:

```typoscript
#Boxeninhalte auslesen, sliden und collecten
lib.boxen = CONTENT
lib.boxen {
	renderObj {
	stdWrap.wrap = <div class="t"><div class="b"><div class="l"><div class="r"><div class="bl"><div class="br"><div class="tl"><div class="tr"><div class="inhalt">|</div></div></div></div></div></div></div></div></div>
	}
	table = tt_content
	slide = -1
	slide {
		collect = -1
		collectReverse = 1
		}
	select {
	where = colPos=4
	orderBy = sorting
	languageField = sys_language_uid
	}
}
```

---

Quelle: „wie wrappe ich?“, typo3.net, https://www.typo3.net/d/88233-wie-wrappe-ich
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
