A new feature for SilverStripe should be ...

Add a weighting system to Requirements

CSS and JS files are loaded in the order they are called (with some intelligence based on what requirements are called). When you have multiple modules and your core theme all calling requirements from different places sometimes requirements get called in an order that is not ideal.

My first thought on this was maybe a simple weighting system, so higher numbers float to the top, the call would look something like:

This is following on from the Github issue raised here: https://github.com/silverstripe/silverstripe-framework/issues/6454#issuecomment-271622873

9 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Morven Lewis-EverleyMorven Lewis-Everley shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base