DCE in Gridelements not working (empty fields) - TYPO3 10.4

Viewed 325

when i nest a DCE-Element inside a Gridelements-Container, the fields of the rendered DCE are empty and not shown in the frontend.

I tried a custom template to resolve it but couldn't.

Here is what i got so far:

<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<f:if condition="{children}">
    <div class="grid grid-onecol grid-layout-{data.layout} {f:if(condition: data.space_before_class, then: ' frame-space-before-{data.space_before_class}')}{f:if(condition: data.space_after_class, then: ' frame-space-after-{data.space_after_class}')}">
        <div class="container">
            <div class="grid-row row">
                <f:for each="{children}" as="columns" key="rowNumber">
                    <f:if condition="{columns}">
                        <div class="grid-col col-12">

                            <f:for each="{columns.101}" as="child">
                                <f:if condition="{child.data.CType}">
                                    <f:cObject typoscriptObjectPath="tt_content.{child.data.CType}" data="{child.data}" table="tt_content" />
                                </f:if>
                            </f:for>
                            
                        </div>
                    </f:if>
                </f:for>
            </div>
        </div>
    </div>
</f:if>

enter image description here

1 Answers
Related