I try to build me first template following the steps from https://docs.typo3.org/m/typo3/tutorial-sitepackage but i can’t figure out what iam doing wrong.
I got this error on the frontend:
TYPO3Fluid\Fluid\View\Exception\InvalidTemplateResourceException
Tried resolving a template file for controller action “Standard->index” in format “.html”, but none of the paths contained the expected template file (). No paths configured.
Here are my configurations:
Page.typoscript:
Template Konfiguration für alle Domains
@import ‘EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript’
page {
// Header Data
headerData {
30 = TEXT
30.value (
<link rel="preconnect" href="https://www.google-analytics.com" crossorigin>
<link rel="dns-prefetch" href="https://www.google-analytics.com">
)
}
// Fluid template section
10 = FLUIDTEMPLATE
10 {
//
}
templateRootPaths {
//
}
partialRootPaths {
//
}
layoutRootPaths {
//
}
// Hauptnavigation
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
10 {
special = list
special.value = 7,2,3,11,4 // Auswahl von Navigationspunkten im Hauptmenü
levels = 1
includeSpacer = 1
as = mainnavigation
}
}
// Footernavigation
dataProcessing {
20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
20 {
special = list
special.value = 12,13,5,6 // Auswahl von Navigationspunkten im Footer
levels = 1
includeSpacer = 1
as = footernavigation
}
}
}
setup.typoscript:
@import ‘EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript’
@import ‘EXT:df_package/Configuration/TypoScript/Setup/*.typoscript’
page = PAGE
constants.typoscript:
@import ‘EXT:fluid_styled_content/Configuration/TypoScript/constants.typoscript’
page {
fluidtemplate {
layoutRootPath = EXT:df_package/Resources/Private/Layouts/Page/
partialRootPath = EXT:df_package/Resources/Private/Partials/Page/
templateRootPath = EXT:df_package/Resources/Private/Templates/Page/
}
}
Default.tsconfig:
mod.web_layout.BackendLayouts {
Default {
title = Default Layout
config {
backend_layout {
colCount = 1
rowCount = 2
rows {
1 {
columns {
1 {
name = Jumbotron
colPos = 1
}
}
}
2 {
columns {
1 {
name = Main Content
colPos = 0
}
}
}
}
}
}
}
}
On the screenshots you can see my file structure
Here is the static templated added on my backend
Here iam missing the defined layouts but i see some not defined one!?: