How to add a Bootstrap slider to a Joomla template?
In index.php there is a block that is responsible for the output of the module in this position.
I load the module through the admin panel, the first image is displayed, but the slides do not even change manually.
Code:
<?php if ($this->countModules('as-position-5')): ?> <div id="slider-row"> <jdoc:include type="modules" name="as-position-5" style="themeHtml5" /> </div> <?php endif; ?> Если этот блок полностью заменить на <div id="myCarousel" class="carousel slide" data-ride="carousel"> <!— Carousel items —> <div class="carousel-inner"> <div class="active item"><img src="/www/jupgrade/templates/as002059free/images/gallery/london.jpg"></div> <div class="item"><img src="/www/jupgrade/templates/as002059free/images/gallery/rio.jpg"></div> <div class="item"><img src="/www/jupgrade/templates/as002059free/images/gallery/moscow.jpg"></div> </div> <!— Carousel nav —> <a class="carousel-control left» href="#myCarousel" data-slide="prev">‹</a> <a class="carousel-control right href="#myCarousel" data-slide="next">›</a> </div> It turns out the same.