Non l'avrai inserito nel punto giusto...
Questa è la tua gallery:
<?php if(JRequest::getVar('view') == "frontpage" ) : ?>
<div id="gallery"><div id="tittleslide"><h3><?php echo $tittle ?></h3></div>
<div id="faded">
<ul>
<li><img src="templates/<?php echo $this->template ?>/images/slide11.jpg" alt="" /></li>
<li><img src="templates/<?php echo $this->template ?>/images/slide22.jpg" alt="" /></li>
<li><img src="templates/<?php echo $this->template ?>/images/slide33.jpg" alt="" /></li>
<li><img src="templates/<?php echo $this->template ?>/images/slide44.jpg" alt="" /></li>
<li><img src="templates/<?php echo $this->template ?>/images/slide55.jpg" alt="" /></li>
</ul>
<ul class="pagination">
<li> <a href="#" rel="0"> <img src="templates/<?php echo $this->template ?>/images/slide1-thumb.jpg" alt="" /></a></li>
<li> <a href="#" rel="1"> <img src="templates/<?php echo $this->template ?>/images/slide2-thumb.jpg" alt="" /></a> </li>
<li> <a href="#" rel="2"> <img src="templates/<?php echo $this->template ?>/images/slide3-thumb.jpg" alt="" /></a> </li>
<li> <a href="#" rel="3"> <img src="templates/<?php echo $this->template ?>/images/slide4-thumb.jpg" alt="" /></a> </li>
<li> <a href="#" rel="4"> <img src="templates/<?php echo $this->template ?>/images/slide5-thumb.jpg" alt="" /></a> </li>
</ul>
</div>
</div>
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(function(){
$j("#faded").faded({
speed:<?php echo $speed ?>,// 900,
crossfade: true,
autopagination: false,
autoplay: <?php echo $autoplay ?>,//default 5000,
autorestart: true
});
});
</script>
<?php endif; ?>
Inserisci le due righe come vedi sopra.