---
title: "FluidTemplate: Mehrere Haupttemplates erstellen"
url: "https://www.typo3.net/d/121559-fluidtemplate-mehrere-haupttemplates-erstellen"
source: "typo3.net"
tags: ["TYPO3","Template","Fluid","Frage","TYPO3 6"]
created: "2016-01-01"
last_reply: "2016-01-01"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# FluidTemplate: Mehrere Haupttemplates erstellen

TYPO3 › Template · 0 Antworten · gestartet 2016-01-01

## Eröffnungsbeitrag

**wmcig** · 2016-01-01 · [Beitrag #1](https://www.typo3.net/d/121559-fluidtemplate-mehrere-haupttemplates-erstellen/1)

Ich habe folgendes Problem: Mein Fluidtemplate besteht zur Zeit aus einem Haupttemplate, das im Ordner layouts liegt. In diesem Haupttemplate werden die weiteren Templates eingearbeitet, die man im Inhaltsbereich des backend auswählen kann, in den Seiteneinstellungen bei "Appereance".

Ich benötige aber nicht nur ein Haupttemplate, sondern zwei!

Bevor ich den bisherigen Code angebe, möchte ich wissen, wie ich es verändern kann, dass ich zwei verschiedene Templates als meine Haupttemplates habe?

```typoscript
page.10 = FLUIDTEMPLATE
page.10 {
format = html
file = fileadmin/templates/layouts/main_layout.html
partialRootPath = fileadmin/templates/partials/
layoutRootPath = fileadmin/templates/layouts/
variables {
content_main < styles.content.get
content_main.select.where = colPos = 0
content_column_1 < styles.content.get
content_column_1.select.where = colPos = 1
content_column_2 < styles.content.get
content_column_2.select.where = colPos = 2
}
}

page.10.file.stdWrap.cObject = CASE
page.10.file.stdWrap.cObject {
key.data = levelfield:-1, backend_layout_next_level, slide
key.override.field = backend_layout

default = TEXT
default.value = fileadmin/templates/main_1_column_with_menu.html
1 = TEXT
1.value = fileadmin/templates/main_1_column_with_menu.html
2 = TEXT
2.value = fileadmin/templates/main_1_column_without_menu.html
3 = TEXT
3.value = fileadmin/templates/main_2_column_without_menu.html
}
```

Wer kann helfen?

---

Quelle: „FluidTemplate: Mehrere Haupttemplates erstellen“, typo3.net, https://www.typo3.net/d/121559-fluidtemplate-mehrere-haupttemplates-erstellen
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
