CE: Eine bestimmte Gruppe inkl. aller Felder rendern
PHP-Code:
foreach($this->group('myGroup')->fields as $field)
{
echo $field->html();
}
Code:
<pre style="margin:11px 0 0">#0 templates/customelement_simple_kontakte.html5(46): __error(2, 'Invalid argumen...', '/kunden/482563_...', 46, Array)
#1 system/modules/core/library/Contao/BaseTemplate.php(88): include('/kunden/482563_...')
#2 system/modules/core/library/Contao/Template.php(277): Contao\BaseTemplate->parse()
#3 system/modules/core/classes/FrontendTemplate.php(46): Contao\Template->parse()
#4 system/modules/core/elements/ContentElement.php(284): Contao\FrontendTemplate->parse()
#5 system/modules/pct_customelements/PCT/CustomElements/Frontend/ContentCustomElement.php(127): Contao\ContentElement->generate()
#6 system/modules/core/library/Contao/Controller.php(476): PCT\CustomElements\Frontend\ContentCustomElement->generate()
#7 system/modules/core/modules/ModuleArticle.php(213): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#8 system/modules/core/modules/Module.php(282): Contao\ModuleArticle->compile()
#9 system/modules/core/modules/ModuleArticle.php(67): Contao\Module->generate()
#10 system/modules/core/library/Contao/Controller.php(409): Contao\ModuleArticle->generate(false)
#11 system/modules/core/library/Contao/Controller.php(269): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main')
#12 system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main')
#13 system/modules/core/controllers/FrontendIndex.php(267): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#14 index.php(20): Contao\FrontendIndex->run()
#15 {main}
</pre>

)
Einen Kommentar schreiben: