---
title: "iPad Browserweiche"
url: "https://www.typo3.net/d/109829-ipad-browserweiche"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2012-03-16"
last_reply: "2012-03-28"
replies: 5
solved: false
page: 1
pages: 1
lang: "de"
---

# iPad Browserweiche

Allgemein · 5 Antworten · gestartet 2012-03-16

## Eröffnungsbeitrag

**crossl** · 2012-03-16 · [Beitrag #1](https://www.typo3.net/d/109829-ipad-browserweiche/1)

Wie kann ich denn ein Typo3 Contentelement (das eine Flash Datei enthält) abhängig vom Medium (iPad, PC...) aufrufen lassen.

Ich möchte also, dass zB statt Contentelement id=25 id=26 aufgerufen wird, wenn ein iPad oder iPhone die Seite aufruft...

## Antworten

### [#2](https://www.typo3.net/d/109829-ipad-browserweiche/2) · crossl · 2012-03-25

braucht das echt niemand? content Ausgabe abhängig vom Medium?

### [#3](https://www.typo3.net/d/109829-ipad-browserweiche/3) · homy · 2012-03-26

guckste hier:
Google Erster Treffer ;)

<http://www.typo34u.de/index.php?id=browserweiche_iphone_ipad>

### [#4](https://www.typo3.net/d/109829-ipad-browserweiche/4) · crossl · 2012-03-27

guter Tipp - aber irgendwie bekomme ich das nicht zum Laufen:

```typoscript
  #Browserweiche iPhone/iPOD
[useragent = *iPhone*] || [useragent = *iPod*]
page.10.marks {
  RIGHT = CONTENT
  RIGHT{
    table = tt_content
    select.orderBy = sorting
    select.where = colPos = 1
    #spalte rechts, seite root ueberall anzeigen
    select.pidInList = 1
  }
}
[global]
page.10.marks {
  RIGHT = CONTENT
  RIGHT{
    table = tt_content
    select.orderBy = sorting
    select.where = colPos = 2
    #spalte rechts, seite root ueberall anzeigen
    select.pidInList = 1
  }
}
```

funktioniert zwar am Desktop, aber am iPhone wird dasselbe dargestellt

### [#5](https://www.typo3.net/d/109829-ipad-browserweiche/5) · Norman2k · 2012-03-28

Weil du RIGHT nach deiner Condition wieder komplett überschreibst. Entweder machst du daraus ein if-else Konstrukt oder packst dein unteren Code vor den Code mit der Condition

### [#6](https://www.typo3.net/d/109829-ipad-browserweiche/6) · crossl · 2012-03-28

#angry#
danke

---

Quelle: „iPad Browserweiche“, typo3.net, https://www.typo3.net/d/109829-ipad-browserweiche
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
