Is it no longer possible to store own scripts under /tools with v9.0.2?
We had a script for an AJAX request here that no longer works.
Is it no longer possible to store own scripts under /tools with v9.0.2?
We had a script for an AJAX request here that no longer works.
/tools have been deprecated since v5.7, finally removed at v9.
In general, scripts are now registered/required as assets.
https://documentation.concretecms.org/developers/assets/registering-asset
Ajax URLs are declared as routes.
If it is just within a block or single page controller, you can also ajax directly to a controller action.
I just yesterday accomplished man handling the new register/require asset system. Of the few different docs on this, this one in particular was the most helpful for me… Registering and Requiring CSS & JavaScript - Concrete CMS