[TYPO3-german] No layout root path
Michael Voss
michael at voss.ch
Wed Apr 1 11:32:20 CEST 2015
Hallo miteinander
Ich stehe an bei einem kleinen Problem bei der Umsetzung meines ersten Fluidtemplates.
im Setup meines Roottemplates schreibe ich:
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/Configuration/TypoScript/root.t3s">
in der root.t3s Datei steht:
page = PAGE
page {
10 = FLUIDTEMPLATE
10 {
template = FILE
template.file = fileadmin/Resources/Private/Templates/homepage.html
partialRootPath = fileadmin/Resources/Private/Templates/Partial/
partialRootPath = fileadmin/Resources/Private/Templates/Layouts/
variables {
logo = TEXT
logo.value = <a class="brand" href="#">Musterfirma</a>
copyright = TEXT
copyright {
value = Copyright 2011-{date:Y}
insertData = 1
}
}
}
und in der der Datei homepage.html steht dies:
<f:layout name="defaultLayout" />
<f:section name="content-fluid">
<div class="row-fluid">
<div class="span12 well">
<div>
Hallo
<br/>
<f:format.raw>
{mylabel}
</f:format.raw>
</div>
</div>
</div>
</f:section>
danach erhalte ich diese Fehlermeldung:
No layout root path has been specified. Use setLayoutRootPaths().
wenn ich aber in der Datei homepage.html ur diese Zeilen einfüge:
<div>
Hallo
<br/>
<f:format.raw>
{mylabel}
</f:format.raw>
</div>
dann funktionierts.
Was mache ich da falsch?
ich bedanke mich jetzt schon für die Unterstützung.
Michael
More information about the TYPO3-german
mailing list