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" :
- <div class="container">
- <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
- <!-- Indicators -->
- <ol class="carousel-indicators">
- <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
- <li data-target="#carousel-example-generic" data-slide-to="1"></li>
- <li data-target="#carousel-example-generic" data-slide-to="2"></li>
- </ol>
- <!-- Wrapper for slides -->
- <div class="carousel-inner">
- <div class="item active">
- <img src="/images/joomlart/slideshow/sl-1.jpg" alt="Sample image" />
- <div class="carousel-caption">
- <h2>Your perfect starting template, Purity III</h2>
- <p>Either it's your first time with Joomla or you are a developer already, Purity III won't let you down.</p>
- </div>
- </div>
- <div class="item">
- <img src="/images/joomlart/slideshow/sl-2.jpg" alt="Sample image" />
- <div class="carousel-caption">
- <h2>This is the best FREE Joomla 3 template!</h2>
- <p>We have drunken too much of the best… but this repsonsive Joomla template truly is, and IT'S FREE!</p>
- </div>
- </div>
- <div class="item">
- <img src="/images/joomlart/slideshow/sl-3.jpg" alt="Sample image" />
- <div class="carousel-caption">
- <h2>The next generation of Purity series</h2>
- <p>Sophisticated in Design, Brilliant in Features. That's how we define Purity Series.</p>
- </div>
- </div>
- </div>
- <!-- Controls -->
- <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
- <span class="glyphicon glyphicon-chevron-left"></span>
- </a>
- <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
- <span class="glyphicon glyphicon-chevron-right"></span>
- </a>
- </div>
- </div>
- Les indicateurs ne fonctionnement pas..., peut-être un paramétrage à faire dans JCE.