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

As a developer, I want to avoid writing my pagelayout twice by using my Twig template pagelayout for legacy actions

    Details

    • Type: Story Story
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 5.0, 2013.1
    • Fix Version/s: 5.2
    • Labels:
      None

      Description

      Goal is that an eZ Publish developer can build a website using Twig templates without needing to write an identical pagelayout in the legacy template system simply to support legacy-only modules and view.

      • Add an option to specify a twig-based legacy template layout in parameters.yml
      • Modify LegacyKernelController to use this option to render module results if it's specified.
      • Modify the legacy ezpKernelWeb to return the module_result information in addition to the rendered content to support this new ability.

        Issue Links

          Activity

          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          Related to EZP-20518 in the fact that it mentions ezpublish_legacy.view.default_layout, which needs to be configurable by siteaccess.

          Show
          Jérôme Vieilledent (Inactive) added a comment - Related to EZP-20518 in the fact that it mentions ezpublish_legacy.view.default_layout , which needs to be configurable by siteaccess.
          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          Fixed in :
          ezpublish-kernel : http://git.io/Grg1tw
          ezpublish-legacy : http://git.io/OcsppA

          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in : ezpublish-kernel : http://git.io/Grg1tw ezpublish-legacy : http://git.io/OcsppA
          Show
          Jérôme Vieilledent (Inactive) added a comment - Original PRs : ezpublish-legacy : https://github.com/ezsystems/ezpublish-legacy/pull/576 ezpublish-kernel : https://github.com/ezsystems/ezpublish-kernel/pull/264
          Hide
          Matthieu Sévère added a comment -

          Added a pull-request to handle custom pagelayout : https://github.com/ezsystems/ezpublish-kernel/pull/374

          Show
          Matthieu Sévère added a comment - Added a pull-request to handle custom pagelayout : https://github.com/ezsystems/ezpublish-kernel/pull/374
          Show
          Jérôme Vieilledent (Inactive) added a comment - Additional fix by Matthieu Sévère in master: https://github.com/ezsystems/ezpublish-kernel/commit/39be2e36e26a4d1fd92bc65552f0d0da1497f62e

            People

            • Assignee:
              Unassigned
              Reporter:
              Joe Kepley
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: