Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1427

Joomla! 5.x Coding • Re: Upgrading Extensions and Plugins to use "new methodology"

$
0
0
I think you'll find it easiest to use the web asset manager, as described in http://pr-261.manual.joomlacode.org/doc ... javascript and in https://manual.joomla.org/docs/general- ... definition - you just add async as an attribute in the joomla.asset.json file (in the same way that 'defer' is added in that second link).

If you're stuck then I'm happy to have a look at it as well if you like, just point me to the code. I've done another site which involved drawing routes using javascript and the Google maps API v3. I found it a bit fiddly with the async, but got it to work in the end. The web asset manager should make it a lot easier.

I might even try the White Cart Walkway when we're over in Barrhead next week!

Robbie

Statistics: Posted by robbiej — Sat May 18, 2024 9:43 pm



Viewing all articles
Browse latest Browse all 1427

Trending Articles