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

'form_row_fieldtype' block cannot be overridden in the Page Builder LP form

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Clean installation of Ibexa DXP 3.2 or 3.3.
      2. Create a file under templates folder called override.html.twig with the following content:
        {% extends '@ezdesign/content/form_fields.html.twig' %}
         
        {% block form_row_fieldtype %}
        OVERRIDE
        {% endblock %}
        
      3. Edit ezplatform.yaml and add under system.admin_group parameter:
                    admin_ui_forms:
                        content_edit_form_templates:
                            - { template: 'override.html.twig', priority: -10 }
        
      4. Edit any Folder Content, observe the form override.
      5. Edit any Landing Page Content, go to the form with Name and Description in the Page Builder.

      Result:
      The form is not overridden. It looks exactly the same as before.

      Expected result:
      You should see the "OVERRIDE" string.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bartlomiej.wajda@ibexa.co Bartłomiej Wajda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: