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

Cannot override templates using design engine via @ezdesign

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.3.0
    • 3.3.0-rc2
    • None

    Description

      Steps to reproduce

      On a clean Ibexa Content installation:

      1. Add the following content view config in ezplatform.yaml:

                  content_view:
                      full:
                          folder:
                              match:
                                  Identifier\ContentType: folder
                              template: "@ezdesign/full/folder.html.twig"
      

      2. Add a folder.html.twig template file to templates/themes/base_theme/full
      3. Create a Folder Content item and view on the front page

      Result: the template is ignored
      The template works when content view is configured in the following way:

                  content_view:
                      full:                    
                          silverContentFolder:
                              match:
                                  Identifier\ContentType: folder
                              template: "@ezdesign/full/folder.html.twig"
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            dominika.kurek-obsolete@ibexa.co Dominika Kurek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: