Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2750

Overriding default layout in Page Builder produces an error

    XMLWordPrintable

Details

    Description

      Currently it is impossible to override default layout for Page Builder.

      Steps to reproduce:
      1. Create own template for Page Builder layout.
      2. Attach the following configuration to app/config/config.yml:

      config.yml
      ezplatform_page_fieldtype:
          layouts:
              default:
                  identifier: 'default'
                  name: 'Default'
                  description: 'Main section only'
                  thumbnail: '/assets/build/images/page_builder/layouts/default.png'
                  template: 'layouts/sidebar.html.twig'
                  zones:
                      first:
                          name: 'First zone'
      

      3. Clear the cache.
      4. Create a new Landing Page and pick "default" layout.

      Result:
      You will be presented with the error presented on pb_error.png.

      Attachments

        Activity

          People

            Unassigned Unassigned
            konrad.oboza@ibexa.co Konrad Oboza
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: