[TYPO3-german] Tried to get a variable "sections" which is not stored in the context!
Roth
xy at roth.biz
Wed Sep 2 13:42:27 CEST 2015
Hallo,
folgende Anweisung in meinem Template bringt mir die Fehlemeldung weiter
unten.
<f:render section="content" />
Tried to get a variable "sections" which is not stored in the context!
Ich stehe auf dem Schlauch.
Habe eine Layout Datei mit:
<f:render section="main" />
Dazu eine Template Datei:
<f:layout name="main" />
<f:section name="main">
</f:section>
Und im TS folgenden Eintrag:
page = PAGE
page {
10.file.stdWrap.cObject = CASE
10.file.stdWrap.cObject {
key.data = levelfield:-1, backend_layout_next_level, slide
key.override.field = backend_layout
default = TEXT
default.value = fileadmin/templates/start.html
# value is the template ID
1 = TEXT
1.value =fileadmin/templates/start.html
}
20 = FLUIDTEMPLATE
20 {
file = fileadmin/templates/layouts/main.html
layoutRootPath = fileadmin/templates/layouts/
partialRootPath = fileadmin/templates/partials/
variables {
# Assign the content for our start template
content < styles.content.get
}
}
}
Ich komme leider nicht dahinter, was falsch ist.
Viele Grüße
Max
More information about the TYPO3-german
mailing list