Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-1984 Block: CSS theme tool
  3. CONTRIB-2749

Find a better way to include CSS within the page head

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 2.0.1
    • Block: CSS theme tool
    • None
    • MOODLE_20_STABLE

      In the present system if the CSS isn't able to be included within the page head (because it is to late to do so) then you get a warning within the block.
      The problem is that the original way in which I had intended for users to allow the block to add the CSS to the head is no longer practical due to recent refactoring.
      As a note to myself it should be possible to add reference to the CSS file within the block by overriding the specialization method, the moodle_page object looks as though it is available at that point.

      Cheers
      Sam

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.