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

Joomla! 5.x Coding • Re: How to load Bootstrap JavaScript file?

$
0
0
Thank you for the replies. Can I add that the simple presenting problem was that I needed to display modal dialogs triggered by a module, but this did not work until Bootstrap Javascript was available.

Following the Bootstrap site link given, applied literally, I edited the template index.php file and added the Bootstrap CSS CDN link in the head section, and the Bootstrap JavaScript CDN script immediately before the /body tag. My modal dialogs now work, but I am wondering if the CSS link is duplicating CSS already in the template. I tried removing the CSS link and the behaviour is still what I require.

Is it acceptable practice to add the script as I did, above the closing /body element? If I am supposed to delve into the Web Assets Manager to do this "properly" please give me a link to training material.

Statistics: Posted by festsoft2 — Fri Sep 20, 2024 1:59 pm



Viewing all articles
Browse latest Browse all 600

Trending Articles