Category: pimcore

How to render template from controller in Pimcore?

I am trying to render template from the controller. I have following lines. return $this->render(‘../Resources/views/Order/notification.html.twig’, []); But it is returning me error: Template name “../Resources/views/Order/notification.html.twig” contains invalid characters. Can any body please help me how to render the template ?…

Pimcore / Symfony cannot find extension for ‘ pimcore_customer_management_framework’

I have a local pimcore 6 install that is working fine. when i copy the code to a remote server i am getting the following error: There is no extension able to load the configuration for “pimcore_customer_management_framework” (in /opt/bitnami/apps/pimcore/htdocs/app/config/cmf.yml). Looked…

Print debug stack trace (within block)

Trying to extend a formbuilder plugin for Pimcore (https://github.com/dachcom-digital/pimcore-formbuilder) I am trying to modify the output of input/select fields in order to be compatible with MD Bootstrap syntax. Therefore I override /FormBuilderBundle/Form/Theme/bootstrap_4_layout.html.twig. The shortened content of this file is like…