Hallo ins Forum,
kann mir bitte jeamand erklären warum dies Variante zum Fehler "ERROR: Content Element with uid "49" and type "bs4_card" has no rendering definition!" führt
lib.contentElement {
templateRootPaths {
100 = EXT:bs4/Resources/Private/Templates
}
partialRootPaths {
100 = EXT:bs4/Resources/Private/Partials
}
layoutRootPaths {
100 = EXT:bs4/Resources/Private/Layouts
}
}
tt_content {
bs4_card < lib.contentElement
bs4_card {
templateName = Card.html
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = image
references.table = tt_content
as = cardImg
}
}
}
}
Und diese Variante nicht und das entsprechende Template mit Bildern dargestellt wird.
tt_content {
bs4_card = FLUIDTEMPLATE
bs4_card {
file = EXT:bs4/Resources/Private/Templates/Card.html
dataProcessing {
dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = image
references.table = tt_content
as = cardImg
}
}
}
}
Ich möchte nun aber Teile des Templates in Partial auslagern und somit muss ich ja den partialRootPaths angeben, was in der zweiten Variante wiederum zu Problemen führt.
Danke für n Tipp und Gruß.
mimii