Changing JQuery version

Permalink
Modern stuff oftern needs a more recent JQuery.

I know there's the C5 built-in one but couldn't there be the facility to have the 'built-in' load from CDN and we could have access to the CDN URL in the Dashboard to change it to a different version?

As long as we know where in the generated overrides we can edit this back if it utterly breaks a site then surely it'd be more useful than not?

Anyone know why this would be an impossibiity? Sounds better than trying to shoehorn a different JQ in with all the attendant fiddles when the 'core' one could be alterable.

surefyre
 
dimger84 replied on at Permalink Reply
dimger84
Take a look at your /applicaiton/bootstrap/app.php.

In the comments you can find how to override an asset. Giving a cdn url is also possible (see here:https://documentation.concrete5.org/developers/assets/registering-an... if you register your asset with the option "local"=>false
surefyre replied on at Permalink Reply
surefyre
Sure, I was thinking exposing the setting in the Dashboard might be a little more friendly :)
dimger84 replied on at Permalink Reply
dimger84
I think this would be a long discussion :P