Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21374

D8 footer resources get added to the header

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.28
    • Component/s: None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      When adding scripts or styles to the page footer, in Drupal 8 they appear in the html header instead, and in the wrong order.

      \Drupal\civicrm\CivicrmPageState::addJS() and addCSS() functions do not accept a $region param and so do not know where to put the assets on the page, they always assume html-head.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: