---
title: "Neos page layout hinzufügen problem"
url: "https://www.typo3.net/d/117063-neos-page-layout-hinzufuegen-problem"
source: "typo3.net"
tags: ["Neos","Frage"]
created: "2014-01-10"
last_reply: "2014-05-20"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# Neos page layout hinzufügen problem

Neos · 2 Antworten · gestartet 2014-01-10

## Eröffnungsbeitrag

**zabinetta** · 2014-01-10 · [Beitrag #1](https://www.typo3.net/d/117063-neos-page-layout-hinzufuegen-problem/1)

Hallo,
ich mach erste Versuche mit Neos; Hab das Demopackage genommen und will noch ein Alternativlayout hinzufügen, aber es taucht nicht auf in der Selectbox zum Zuweisen.
ich hab mich an diese Anleitung gehalten:
<http://docs.typo3.org/neos/TYPO3NeosDocumentation/IntegratorsCookbook/SelectingPageTemplate.html>

Packages/Sites/TYPO3.NeosDemoTypo3Org/Configuration/NodeTypes.yaml

```actionscript
'TYPO3.Neos.NodeTypes:Page':
  childNodes:
    'teaser':
      type: 'TYPO3.Neos:ContentCollection'
  properties:
    'layout':
      ui:
        inspector:
          editorOptions:
            values:
              'default':
                label: 'Default'
              'landingPage':
                label: 'Landing page'
              'sabinePage':
                label: 'Sabine test page'
```

Packages/Sites/TYPO3.NeosDemoTypo3Org/Private/Typoscripts/Library/Roots.ts2

```typoscript
//...
default < page

// Special page layout with less navigation components
landingPage < page
landingPage.body {
	// Hide breadcrumb on landing pages
	parts.breadcrumb >
	landingPage = ${true}
}

// Special page layout with less navigation components
sabinePage < page
sabinePage.body {
	// Hide breadcrumb on landing pages
	parts.breadcrumb >
}
//...
```

und als nix passiert ist hab ich auch schon das cache gelöscht:
./flow flow:cache:flush
und zur sicherheit noch
FLOW_CONTEXT=Production ./flow flow:cache:flush

Immer noch nichts.
Weiter unten in der Doku steht noch was von

> The implementation internal of the layout rendering can be found in the file:
>
> TYPO3.Neos/Resources/Private/TypoScript/DefaultTypoScript.ts2
>
> The element root.layout is the one responsible for handling the layout. So when trying to change the layout handling this is the TypoScript object to manipulate.

aber ich kann die datei nirgends entdecken.

könnte jemand mir bitte kurz nen Tipp geben?

## Antworten

### [#2](https://www.typo3.net/d/117063-neos-page-layout-hinzufuegen-problem/2) · Unbekannter Benutzer · 2014-01-17

Hallo,

sieht soweit auf den ersten Blick gut aus.
Bist Du sicher, dass Du nur spaces verwendest und die Einrückung auch stimmt?

Wenn es im Backend nicht auftaucht ist es erstmal ein Problem im YAML.
Wäre natürlich auch noch wichtig ob du es auf einer Seite geguckt hast, die auch vom Typ "TYPO3.Neos.NodeTypes:Page" ist.

### [#3](https://www.typo3.net/d/117063-neos-page-layout-hinzufuegen-problem/3) · sasdts · 2014-05-20

Ich schäme mich für mein Deutsch, aber...

Ich hatte die gleiche problem und müsste ProductionConfigurations.php (\Data\Temporary\Production\Configuration\) und die cache löschen

---

Quelle: „Neos page layout hinzufügen problem“, typo3.net, https://www.typo3.net/d/117063-neos-page-layout-hinzufuegen-problem
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
