New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap (JS) not included in some pages #20198
Comments
without knowing what "some pages" are or even what type of page they are it is impossible to help |
Joomla core does not arbitrarily load any media, if you require Bootstrap to be loaded you need to ensure it is loaded (a call to Closing, not a core bug. |
Just to close the loop here, the only change in 3.8.7 where media stopped being loaded was #19787 because the breadcrumb module doesn't use tooltips therefore there is no point in forcing the load of jQuery and Bootstrap. This is a huge if, but if absolutely nothing else on your site's pages was actually causing Bootstrap to get loaded and that was the only spot doing it, that change would have impacted you. |
That's it. I was using Bootstrap components and they just worked. I've never bothered about including it (it just worked and those components are all around!). |
Add that line to your template. |
Steps to reproduce the issue
On some pages, the bootstrap.js file (specifically the "<script src="/media/jui/js/bootstrap.min.js?[UUID]" type="text/javascript"></script>" tag) is not included, resulting on no dynamic behavior on bootstrap components (Accordions, in my case).
Expected result
The bootstrap.js being normally included.
Actual result
The dynamic behavior from bootstrap.js components (like accordions) is not present
System information (as much as possible)
Debian 8.10 (Jessie)
Apache 2.4.10
PHP 5.6.33-0+deb8u1
Mysql 5.5.59
Joomla! version 3.8.7
Additional comments
I've needed to downgrade to 3.8.6 because that dynamic behavior is essential in my site, as much information is collapsed on those components.
That is why I don't put any link for you to check.
The text was updated successfully, but these errors were encountered: