Forum


Bootstrap carousel

Pierrick LE BRUN
96%
Posts: 96
  • TF Widget
January 19, 2022

I'm on Joomla 4, Just installed TF bootstrap and followed the instructions for the carousel. But there is no animation. It stays stuck on the first image. Indicators show but do not respond either.

Joomla Fry
100%
Posts: 1076
January 20, 2022

Carousel requires Bootstrap JavaScript to be included. Does the template loads it?

You can send temporary Joomla admin details to mail@techfry.com, so that I can look into this.

 

Pierrick LE BRUN
96%
Posts: 96
January 20, 2022
Hmm, don't know what happened, I wrote a message this morning, but I don't see it anywhere ?? But yes, you were spot on, J4 by default does not load all the bootstraps JS, but only do so in a modular way, which means that extensions who need a particular action apparently must load it themselves. https://docs.joomla.org/J4.x:Using_Bootstrap_Components_in_Joomla_4 So anyways, I downloaded that custom module with bootstap modular activation and used bootstrap carousel to make it myself. https://getbootstrap.com/docs/5.0/components/carousel/ No need for another extension after all.
Joomla Fry
100%
Posts: 1076
January 21, 2022

Thank you for sharing the link. Some templates have the option to load Bootstrap JavaScript, so we have not included in module.

In the next version update, we will include an option to include interactive components as well.

You can add code also, but using the module makes it simpler!

Pierrick LE BRUN
96%
Posts: 96
January 21, 2022
Yes, the module makes it simpler. I guess I just wanted to have fun too ;-)
Login to Reply