Details

    • Team:
      Team A
    • Epic Link:
    • Story Points:
      8
    • Deployment actions:
      Hide
      remove javascripts (also jquery ui) from base view (are now loaded with asset manager)

      {% javascripts output='js/scripts.js'
                  '@IntegratedWebsiteBundle/Resources/public/js/page.js'
                  '@IntegratedWebsiteBundle/Resources/public/js/menu.js'
                  '@IntegratedWebsiteBundle/Resources/public/js/grid.js' %}
                  <script type="text/javascript" src="{{ asset_url }}"></script>
              {% endjavascripts %}

      Remove edit form

      Add handlebars:

      {% if integrated_block_edit|default %}
          {{ include('@IntegratedWebsite/handlebars/grid.html.twig') }}
      {% endif %}

      {% if integrated_menu_edit|default %}
          {{ include('@IntegratedWebsite/handlebars/menu.html.twig') }}
      {% endif %}

      Remove template 'IntegratedWebsiteBundle:Form:form_div_layout.html.twig' from config.yml
      Show
      remove javascripts (also jquery ui) from base view (are now loaded with asset manager) {% javascripts output='js/scripts.js'             '@IntegratedWebsiteBundle/Resources/public/js/page.js'             '@IntegratedWebsiteBundle/Resources/public/js/menu.js'             '@IntegratedWebsiteBundle/Resources/public/js/grid.js' %}             <script type="text/javascript" src="{{ asset_url }}"></script>         {% endjavascripts %} Remove edit form Add handlebars: {% if integrated_block_edit|default %}     {{ include('@IntegratedWebsite/handlebars/grid.html.twig') }} {% endif %} {% if integrated_menu_edit|default %}     {{ include('@IntegratedWebsite/handlebars/menu.html.twig') }} {% endif %} Remove template 'IntegratedWebsiteBundle:Form:form_div_layout.html.twig' from config.yml

      Description

      Background

      The use of a form for block editing runs out in a conflict when blocks with other forms are on the page. The page cannot be edited in this case.

      The use of JSON ajax would be much better, also because it would remove the dependency with the PageController.

      6 commits have already been made, status is unknown

      Requirements

      • Don't use form to edit blocks, use JSON ajax instead, because editing a page with form block currently results in an error due to form conflicts
      • Must post to a Grid controller, so it can be used in multiple places
      • Preservice consistency with navigation editing

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marijn Marijn Otte
                Product owner:
                Marijn Otte
                Client:
                Marijn Otte
                Developer:
                Johan Liefers (Inactive)
                Code reviewer:
                Ger Jan van den Bosch
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Draw.io Diagrams

                    OTM