ce_metamodel_content.html5 fehlt?
Hallo,
in der
vendor/metamodels/core/src/CoreBundle/Controller/ContentElement/ItemListController.php
HTML-Code:
@ContentElement("metamodel_content", category="metamodels", template="ce_metamodel_content")
Dieses Template ist aber nicht vorhanden.
Ich habe ein FE Modul MetaModels Liste erstellt und eine Detailseite.
Die Liste wird angezeigt.
Die Detailseite hat im Grunde ebenfalls eine MetaModels Liste mit einem Filter auf den Alias
Die Detailseite hat auch ce_metamodel_list als Template, aber die Seite wird nicht geladen und in den Logs steht:
HTML-Code:
[2026-06-17T10:55:57.056571+02:00] request.CRITICAL: Uncaught PHP Exception LogicException: "Could neither find template "ce_metamodel_content" nor the legacy fallback template "ce_metamodel_content". Did you forget to create a default template or manually define the "template" property of the controller's service tag/attribute?" at AbstractFragmentController.php line 108 {"exception":"[object] (LogicException(code: 0): Could neither find template \"ce_metamodel_content\" nor the legacy fallback template \"ce_metamodel_content\". Did you forget to create a default template or manually define the \"template\" property of the controller's service tag/attribute? at /vendor/contao/core-bundle/src/Controller/AbstractFragmentController.php:108)\n[previous exception] [object] (Exception(code: 0): Could not find template \"ce_metamodel_content\" at /vendor/contao/core-bundle/contao/library/Contao/TemplateLoader.php:156)"} {"request_uri":"https://xxxxxxxxxx/detailseite/item/yamaha-p-45-e-piano","request_method":"GET"}
[2026-06-17T10:55:57.180661+02:00] messenger.INFO: Stopping worker. {"transport_names":["contao_prio_high"]} {"request_uri":"https://xxxxxxxxxx/detailseite/item/yamaha-p-45-e-piano","request_method":"GET"}
Danke