Ajouter un slideshow avec purity 3

Première étape activer la position slideshow :
je modifie mon fichier default.php (que j'ai cloné) dans template / purity_iii / local /tpls en ajoutant une ligne de chargement, le fichier existe déjà dans blocks

<?php $this->loadBlock('header') ?>
<?php $this->loadBlock('navhelper') ?>
<?php $this->loadBlock('slideshow') ?>
<?php $this->loadBlock('spotlight-1') ?>
<?php $this->loadBlock('mainbody') ?>
<?php $this->loadBlock('spotlight-2') ?>
<?php $this->loadBlock('footer') ?>

Puis copier le code que l'on met dans un module "contenu personnalisé" dans la position "slideshow" :
  1. <div class="container">
  2. <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
  3. <!-- Indicators -->
  4. <ol class="carousel-indicators">
  5. <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
  6. <li data-target="#carousel-example-generic" data-slide-to="1"></li>
  7. <li data-target="#carousel-example-generic" data-slide-to="2"></li>
  8. </ol>
  9. <!-- Wrapper for slides -->
  10. <div class="carousel-inner">
  11. <div class="item active">
  12. <img src="/images/joomlart/slideshow/sl-1.jpg" alt="Sample image" />
  13. <div class="carousel-caption">
  14. <h2>Your perfect starting template, Purity III</h2>
  15. <p>Either it's your first time with Joomla or you are a developer already, Purity III won't let you down.</p>
  16. </div>
  17. </div>
  18. <div class="item">
  19. <img src="/images/joomlart/slideshow/sl-2.jpg" alt="Sample image" />
  20. <div class="carousel-caption">
  21. <h2>This is the best FREE Joomla 3 template!</h2>
  22. <p>We have drunken too much of the best… but this repsonsive Joomla template truly is, and IT'S FREE!</p>
  23. </div>
  24. </div>
  25. <div class="item">
  26. <img src="/images/joomlart/slideshow/sl-3.jpg" alt="Sample image" />
  27. <div class="carousel-caption">
  28. <h2>The next generation of Purity series</h2>
  29. <p>Sophisticated in Design, Brilliant in Features. That's how we define Purity Series.</p>
  30. </div>
  31. </div>
  32. </div>
  33. <!-- Controls -->
  34. <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
  35. <span class="glyphicon glyphicon-chevron-left"></span>
  36. </a>
  37. <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
  38. <span class="glyphicon glyphicon-chevron-right"></span>
  39. </a>
  40. </div>
  41. </div>
  42. Les indicateurs ne fonctionnement pas..., peut-être un paramétrage à faire dans JCE.