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

eZ Webin, eZ Flow do not implement alternate layouts (CSS not loaded by eZJSCore)

    XMLWordPrintable

Details

    Description

      When you use an alternate layout (e.g. /layout/set/print), the output is not consistent, because the required CSS files are not being loaded by eZJSCore. This affects eZ Webin - and as a consequence, eZ Flow, too - because it does not implement the appropriate layouyt templates (e.g. print_pagelayout.tpl).

      The standard layout templates (e.g. /design/standard/templates/print_pagelayout.tpl), in turn, do not load packed CSS files using eZJSCore, and as such the output in not consistent. For example, eZStarRating CSS files are not loaded.

      Steps to reproduce:

      On eZ Publish 4.6, fully patched, with eZ Webin, eZ Flow and eZ Star Rating:

      1. Create the following structure:

      Home
      	Articles (folder)
      		Article 1 (article)
      

      2. On the frontend, access Article 1 using an alternate layout.

      Examples:

      example.com/layout/set/print/Articles/Article-1
      example.com/layout/set/popup/Articles/Article-1
      example.com/layout/set/fullscreen/Articles/Article-1

      Please refer to the attached screenshot.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h