---
title: "Conditions"
url: "https://www.typo3.net/d/6470-conditions"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage"]
created: "2003-10-14"
last_reply: "2007-02-15"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Conditions

TYPO3 › TypoScript · 1 Antwort · gestartet 2003-10-14

## Eröffnungsbeitrag

**the-dude** · 2003-10-14 · [Beitrag #1](https://www.typo3.net/d/6470-conditions/1)

Hallo,
ich habe mal wieder ein kleines Problem :o

Wie ist der Syntax von conditions in dem ich colPos 1 und 2 einen Wert zuweisen kann.

Habe mich schei... ausgedrückt. nochmal

```typoscript
[condition ob colPos= 1 oder 2]
   tt_content.text.20.textStyle.altWrap = <tr><td    
          class="box" width="150"> | </td></tr>
   lib.stdheader.10.1.fontTag = 
   lib.stdheader.10.1.wrap2 = <tr><td width="150"  
           class="box_head" bgcolor="#116E08"> |
            </td></tr>
   config.stat_typeNumList = 0,1,2
   tt_content.text.20.parseFunc.tags.link.typolink.wrap = 
             |
```

dann soll er und nur dann soll er die zuweisungen vornehmen. z.B colPos 0 soll unverändert bleiben.
Geht das überhaupt mit einer Condition ?
Bin über jede Hilfe dankbar

thx
the-dude 8-)

## Antworten

### [#2](https://www.typo3.net/d/6470-conditions/2) · dooz · 2007-02-15

Hi,

ist zwar was her, aber besser als nie...

leider gibbet das nicht, aber du kannst mit

```typoscript
if.value = 0
	if.equals.field = colPos
```

die Position bestimmen.

Gruß Daniel

---

Quelle: „Conditions“, typo3.net, https://www.typo3.net/d/6470-conditions
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
