Containers used as reference do not show contained content elements
carsten-wilhelm opened this issue · 4 comments
When I reuse a container with references, the reference is shown correctly in the frontend - but in the backend I only see the reference to the container.
This makes it extremly complicated to edit the contained content - you need to identify the page of the original container and then edit this page to see the content.
Is there a way to display the child elements when containers used as a reference?
@carsten-wilhelm did you get any solution for this?
Hi @carsten-wilhelm , you mean CE CType "shortcut" ("Insert Records"), right?
you have installed EXT:paste_reference, right?
because core itselfs do also not provide any edit possibility to the original record.
I think this feature is implemented in https://github.com/Kephson/paste_reference/blob/main/Classes/PageLayoutView/ShortcutPreviewRenderer.php ?
so this is not a container issue
@achimfritz IMHO EXT:paste_reference only provides an easier way to create shortcut
content elements.
Even without EXT:paste_reference, the editor can create a "shortcut" CE which he then places in a container.
@Pravin0711 Current workaround is resolving the content references via a custom processor like so, that replaces the data in processedData
with the record the shortcut points to:
dataProcessing {
10 = B13\Container\DataProcessing\ContainerProcessor
10 {
dataProcessing {
10 = Vendor\MyExtension\DataProcessing\ResolveContentReferencesProcessor
}
}
}