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

Beginner Tutorial: Incorrect assets loading order

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • None
    • BikeRide > Tutorial
    • None

    Description

      In the third step of Bike Ride tutorial code for loading JavaScript assets is incorrect. The tutorial uses Bootstrap.js which depends on jQuery, so jQuery should be included first, but Assetic does it in alphabetical order. Therefore we can not open modal with bike photo.

      It can be fixed this way:

      root_folder.html.twig
      {% javascripts 'assets/js/jquery.min.js'
                      'assets/js/*' %}
      <script src="{{ asset_url }}"></script>
      {% endjavascripts %}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kamil.madejski@ibexa.co Kamil Madejski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: