Uploaded image for project: 'Integrated'
  1. INTEGRATED-1122

Block management in controllers other than in PageBundle

    Details

    • Team:
      Team A
    • Epic Link:
    • Story Points:
      8
    • Deployment actions:
      Hide
      put content block around base template grid
      {% block content %}
         {{ integrated_grid('main') }}
      {% endblock %}

      integrated block and menu edit variables become request variables

      integrated_block_edit|default -> app.request.attributes.get('integrated_block_edit')

      integrated_menu_edit|default -> app.request.attributes.get('integrated_menu_edit')
      Show
      put content block around base template grid {% block content %}    {{ integrated_grid('main') }} {% endblock %} integrated block and menu edit variables become request variables integrated_block_edit|default -> app.request.attributes.get('integrated_block_edit') integrated_menu_edit|default -> app.request.attributes.get('integrated_menu_edit')

      Description

      Background

      Block management must be possible on pages outside the PageBundle also, to decorate other pages with blocks.

      Requirements

      • When the controller uses a theme view there must be an Edit button on that page also (for example the item action in the ArticleController)
      • You must be able to add blocks, the same as on PageController pages
      • Blocks will be saved based on controller action and channel. If the controller has parameters the same blocks will be used for each parameter (for example every news article will have the same blocks)
      • I think the view the controller uses for its output (in this example the article) will be fixed (because it is not a block area), but preferably this can be moved

      Currently, the base view of the theme will be used, it might be a future feature to choose the template that will be used (maybe with INTEGRATED-572 Closed )

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  OTM