Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30673

eZ Design does not find templates placed in Symfony 4 app structure

    XMLWordPrintable

    Details

      Description

      With the following configuration in ezplatform.yaml

      ezpublish:
          system:
              site:
                  ...
                  design: mydesign
      ...
      ezdesign:
          design_list:
              mydesign: [mytheme]
      

      View configuration:

      ezpublish:
          system:
              site:
                  content_view:
                      full:
                          folder:
                              template: '@ezdesign/full/folder.html.twig'
                              match:
                                  Identifier\ContentType: folder
      

      With the template placed in templates/themes/mytheme/folder.html.twig, the following error occurs when trying to preview a folder:

      Unable to find template "@mydesign/full/folder.html.twig" (looked into: /home/dominika/www/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/views).
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dominika.kurek@ez.no Dominika Kurek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: