Originally Posted by
tsarma
Although this thread is relative old. May be somebody is still looking for more information. I have set up a demo website with MetaModels Frontend-editing function, hope you may find it useful.
http://tinyurl.com/zr869x3
Hi tsarma
Auf deiner Demoseite funktioniert die Erstellung eines Metamodels-Datensatzes leider nicht. Fehler nach Login:
Code:
Fatal error: Uncaught exception ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException with message Widget was not build for property mm_company::logo. thrown in composer/vendor/contao-community-alliance/dc-general-contao-frontend/src/View/WidgetManager.php on line 103
#0 composer/vendor/contao-community-alliance/dc-general-contao-frontend/src/View/WidgetManager.php(126): ContaoCommunityAlliance\DcGeneral\ContaoFrontend\View\WidgetManager->getWidget('logo', NULL)
#1 composer/vendor/contao-community-alliance/dc-general-contao-frontend/src/View/EditMask.php(385): ContaoCommunityAlliance\DcGeneral\ContaoFrontend\View\WidgetManager->renderWidget('logo', false, NULL)
#2 composer/vendor/contao-community-alliance/dc-general-contao-frontend/src/View/EditMask.php(179): ContaoCommunityAlliance\DcGeneral\ContaoFrontend\View\EditMask->buildFieldSet(Object(ContaoCommunityAlliance\DcGeneral\ContaoFrontend\View\WidgetManager), Object(ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Palette), NULL)
#3 composer/vendor/contao-community-alliance/dc-general-contao-frontend/src/View/ActionHandler/CreateHandler.php(59): ContaoCommunityAlliance\DcGeneral\ContaoFrontend\View\EditMask->execute()
#4 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/View/ActionHandler/AbstractHandler.php(54): ContaoCommunityAlliance\DcGeneral\ContaoFrontend\View\ActionHandler\CreateHandler->process()
#5 system/modules/dc-general-contao-frontend/config/event_listeners.php(52): ContaoCommunityAlliance\DcGeneral\View\ActionHandler\AbstractHandler->handleEvent(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#6 [internal function]: ContaoCommunityAlliance\Contao\EventDispatcher\EventDispatcherInitializer->{closure}(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#7 composer/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Object(Closure), Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#8 composer/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#9 composer/vendor/contao-community-alliance/dc-general-contao-frontend/src/FrontendEditor.php(78): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#10 composer/vendor/metamodels/contao-frontend-editing/src/FrontendEditHybrid.php(64): ContaoCommunityAlliance\DcGeneral\ContaoFrontend\FrontendEditor->editFor('mm_company', 'create')
#11 system/modules/core/classes/Hybrid.php(239): MetaModels\Contao\FrontendEditing\FrontendEditHybrid->compile()
#12 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/MetaModelHybrid.php(107): Contao\Hybrid->generate()
#13 system/modules/core/library/Contao/Controller.php(484): MetaModels\FrontendIntegration\MetaModelHybrid->generate()
#14 system/modules/core/modules/ModuleArticle.php(213): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#15 system/modules/core/modules/Module.php(287): Contao\ModuleArticle->compile()
#16 system/modules/core/modules/ModuleArticle.php(67): Contao\Module->generate()
#17 system/modules/core/library/Contao/Controller.php(417): Contao\ModuleArticle->generate(false)
#18 system/modules/core/library/Contao/Controller.php(277): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main')
#19 system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main')
#20 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#21 index.php(20): Contao\FrontendIndex->run()
#22 {main}
Frage: Wie kann man das feature "frontend editing für MetaModels" installieren?
Nick
Bookmarks