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

print.css should be loaded with eZJSCore (easy to fix)

    Details

      Description

      I'm using webin.

      In extension/ezwebin/design/ezwebin/templates/page_head_style.tpl, you can see that several css files are loaded with ezcss_load. Which is very good (minifying is a very good stuff)

      But at the of this file, you can read:

      <link rel="stylesheet" type="text/css" href={"stylesheets/print.css"|ezdesign} media="print" />
      

      As a result print.css won't be minified, which is a pity...

      A solution would be to delete this line (<link rel="stylesheet" type="text/css" href=

      {"stylesheets/print.css"|ezdesign}

      media="print" />)

      Then adding print.css to the ezcss_load()

      And finally in print.css wrap all the content by:

      @media print {
       
      all-the-content-of-print.css-here
       
      }
      

      A chance to see that for the next ezp release ?

        Activity

        Jerome Despatis created issue -
        André Rømcke made changes -
        Field Original Value New Value
        Workflow eZ Community Workflow [ 20824 ] eZ Engineering Scrumban Workflow [ 35168 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 35168 ] EZ* Development Workflow [ 68430 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 68430 ] EZEE Development Workflow [ 106607 ]

          People

          • Assignee:
            unknown
            Reporter:
            Jerome Despatis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: