---
title: "Conditions"
url: "https://www.typo3.net/d/59353-conditions"
source: "typo3.net"
tags: ["Backend","Frage"]
created: "2007-03-13"
last_reply: "2007-03-14"
replies: 3
solved: false
page: 1
pages: 1
lang: "de"
---

# Conditions

Backend · 3 Antworten · gestartet 2007-03-13

## Eröffnungsbeitrag

**thebook** · 2007-03-13 · [Beitrag #1](https://www.typo3.net/d/59353-conditions/1)

Moin,

ich fange eine Prüfung-Bedingung mit:

```typoscript
[globalVar = TSFE:id=24]
  temp.grafik = IMAGE
  temp.grafik.file = fileadmin/speziell.jpg
[global]
```

ab. Wie setze ich eine Regel, die allgemeingültig für alle anderen Fälle ist? Nur mit:

```typoscript
  temp.grafik = IMAGE
  temp.grafik.file = fileadmin/default.jpg
```

Irgendwie habe ich da gerade einen Hänger ...

Danke & Gruß

## Antworten

### [#2](https://www.typo3.net/d/59353-conditions/2) · just2b · 2007-03-13

Hallo,

schreib das allgemeine Zuerst und danach die Condition, dann passts, sonst wirds ja IMMER vom allgemeinen überschrieben

georg

### [#3](https://www.typo3.net/d/59353-conditions/3) · tandem · 2007-03-13

Hallo thebook,

> Wie setze ich eine Regel, die allgemeingültig für alle anderen Fälle ist?

Default-Fall einfach vor die Bedingung setzen.

### [#4](https://www.typo3.net/d/59353-conditions/4) · thebook · 2007-03-14

Danke Euch!

... war ja gar nicht so schlimm, lag wohl irgendwie am Tag ;-)

---

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