---
title: "conditions problem"
url: "https://www.typo3.net/d/56562-conditions-problem"
source: "typo3.net"
tags: ["TYPO3","Mehrsprachigkeit","Frage"]
created: "2007-01-21"
last_reply: "2007-01-21"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# conditions problem

TYPO3 › Mehrsprachigkeit · 1 Antwort · gestartet 2007-01-21

## Eröffnungsbeitrag

**stoun** · 2007-01-21 · [Beitrag #1](https://www.typo3.net/d/56562-conditions-problem/1)

Hallo zusammen,

ich habe auf Home-Seite eine Begrüssung eingebaut.
Es soll nur auf dieser Seite angezeigt werden.
Also

```typoscript
[PIDinRootline = 1]
temp.topwillkommen.value = <h1>Wilkommen</h1>
[GLOBAL]
```

Jetzt hätte ich gerne, dass die englische Seite anderes aussieht (logisch :)

```typoscript
[globalVar = GP:L=1]
temp.topwillkommen.value = <h1>Welcome</h1>
[GLOBAL]
```

Wenn ich versuche es zusammen zu schreiben, geht nicht.

Ich habe folgende Varianten probiert

```typoscript
[PIDinRootline = 1]
temp.topwillkommen.value = <h1>Wilkommen</h1>
[GLOBAL]
[PIDinRootline = 1]&&[globalVar = GP:L=1]
temp.topwillkommen.value = <h1>Welcome</h1>
[GLOBAL]
```

oder so

```typoscript
[PIDinRootline = 1]
temp.topwillkommen.value = <h1>Wilkommen</h1>
[GLOBAL]
[PIDinRootline = 1][globalVar = GP:L=1]
temp.topwillkommen.value = <h1>Welcome</h1>
[GLOBAL]
```

oder so

```typoscript
[PIDinRootline = 1]
temp.topwillkommen.value = <h1>Wilkommen</h1>
[END]
[globalVar = GP:L=1]
temp.topwillkommen.value = <h1>Welcome</h1>
[GLOBAL]
```

alles funktioniert nicht richtig.
Wie macht man das?

Danke!

## Antworten

### [#2](https://www.typo3.net/d/56562-conditions-problem/2) · stoun · 2007-01-21

habe die Lösung gefunden.

In Typo3 3.8. finktioniert && nicht.
Dafür gibt es aber eine Extention: Extended TS Conditions

Dann funktioniert es richtig

```typoscript
[PIDinRootline = 1]
temp.topwillkommen.value = <h1>Wilkommen</h1>
[GLOBAL]
[PIDinRootline = 1]&&[globalVar = GP:L=1]
temp.topwillkommen.value = <h1>Welcome</h1>
[GLOBAL]
```

In Typo3 4 soll es ohne weiteres funktionieren.

---

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