---
title: "Custom Contentelement - Problem mit Fluid-Template"
url: "https://www.typo3.net/d/126632-custom-contentelement-problem-mit-fluid-template"
source: "typo3.net"
tags: ["Extensions","Entwicklung","Frage","TYPO3 8"]
created: "2018-03-16"
last_reply: "2018-03-19"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# Custom Contentelement - Problem mit Fluid-Template

Extensions › Entwicklung · 2 Antworten · gestartet 2018-03-16

## Eröffnungsbeitrag

**mimii** · 2018-03-16 · [Beitrag #1](https://www.typo3.net/d/126632-custom-contentelement-problem-mit-fluid-template/1)

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

```typoscript
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.

```typoscript
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

## Antworten

### [#2](https://www.typo3.net/d/126632-custom-contentelement-problem-mit-fluid-template/2) · Teisinger · 2018-03-16

was wie wo?

Beim zweiten hast du ja die template / partial / layout pfade nicht angegeben... würde ich mal behaupten. :)

### [#3](https://www.typo3.net/d/126632-custom-contentelement-problem-mit-fluid-template/3) · mimii · 2018-03-19

Hallo und Danke für die Antwort, das hat mich auf die Sprünge gebracht. Das "Problem" war einfach, es fehlte im oberen Code.

```typoscript
lib.contentElement = FLUIDTEMPLATE
```

Ich sag nur Freitagnachmittag.... *autsch*.

THX und Gruß
mimii

---

Quelle: „Custom Contentelement - Problem mit Fluid-Template“, typo3.net, https://www.typo3.net/d/126632-custom-contentelement-problem-mit-fluid-template
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
