Buongiorno ho scaricato un template di joomla con slideshow incorporato nel php del template stesso.Il mio problema è che quando clicco su una voce dello slideshow non mi manda al link corrispondente.Mi potete dire dove sbaglio e cosa modificare nel codice?La riga da modificare dovrebbe essere quella evidenziata in rosso.A me pare tutto giusto.Grazie.
<?php
/****************************************************
#####################################################
##-------------------------------------------------##
## NYC TEMPLATE ##
##-------------------------------------------------##
## Copyright = globbersthemes.com- 2012 ##
## Date = mars 2012 ##
## Author = globbers ##
## Websites = http://www.globbersthemes.com ##
## ##
#####################################################
****************************************************/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jdoc:include type="head" />
<link rel="shortcut icon" href="favicon.ico" >
<link rel="icon" type="image/gif" href="animated_favicon1.gif" >
<?php
$mod_right = $this->countModules( 'position-7' );
if ( $mod_right ) { $width = '';
} else { $width = '-full';}
?>
<?php
$text1 = $this->params->get("text1", "Sempre caro mi fu quest'ermo colle ");
$text2 = $this->params->get("text2", "Maecenas a accumsan felis. Praesent scelerisque volutpat egestas.");
$text3 = $this->params->get("text3", "Pellentesque varius, tortor nec ultricies pretium, odio est gravida dolor, et rutrum erat. ");
?>
<?php
$title1 = $this->params->get("title1", "Prenota un libro");
$title2 = $this->params->get("title2", "Promozioni");
$title3 = $this->params->get("title3", "Novità del mese");
$title4 = $this->params->get("title4", "Suggeriti da noi");
$title5 = $this->params->get("title5", "Libri più venduti");
?>
<?php
JHtml::_('behavior.framework', true);$app = JFactory::getApplication();
$app = JFactory::getApplication();
$csite_name = $app->getCfg('sitename');
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/defaut.css" type="text/css" />
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/scroll.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/jquery.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/superfish.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/hover.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/innerfade.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/faded.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(' .navigation ul ').superfish({
delay: 800,
animation: {opacity:'show',height:'show'},
speed: 'normal',
autoArrows: false,
dropShadows: false
});
});
</script>
<script type="text/javascript">
$(document).ready(
function(){
$('#news').innerfade({
animationtype: 'slide',
speed: 750,
timeout: 2000,
type: 'random',
containerheight: '1em'
});
});
</script>
</head>
<body>
<div id="content">
<div class="pagewidth">
<div id="sitename">
<a href="index.php"><img src="templates/<?php echo $this->template ?>/images/logo.jpg" width="845" height="111" alt="logotype" />[/url]
</div>
<div class="pagewidth2">
<div id="content-top">
<div id="toptopmenu"></div>
<div id="topmenu">
<div class="navigation">
<jdoc:include type="modules" name="position-1" />
</div>
</div>
<div id="content-bottom">
<div id="hightlight-t">HOT NEWS:</div>
<div id="hightlight-b">
<ul id="news">
<li><a href="index.php/chi-siamo.html"><?php echo $text1 ?>[/url]</li>
<li><a href="#n2"><?php echo $text2 ?>[/url]</li>
<li><a href="#n3"><?php echo $text3 ?>[/url]</li>
</ul>
</div>
<div id="search">
<jdoc:include type="modules" name="position-0" />
</div>
</div>
</div>
<div id="slideshow">
<!-- slider begin -->
<div id="faded">
<ul class="contenu">
<li> <!-- slider1 -->
<img src="templates/<?php echo $this->template ?>/images/slide1.jpg" alt="slide1" />
</li>
<li><!-- slider2 -->
<img src="templates/<?php echo $this->template ?>/images/slide2.jpg" alt="slide2" />
</li>
<li><!-- slider3 -->
<img src="templates/<?php echo $this->template ?>/images/slide3.jpg" alt="slide3" />
</li>
<li><!-- slider4 -->
<img src="templates/<?php echo $this->template ?>/images/slide4.jpg" alt="slide4" />
</li>
<li><!-- slider5 -->
<img src="templates/<?php echo $this->template ?>/images/slide5.jpg" alt="slide5" />
</li>
</ul>
<ul class="pagination">
<li><a href="index.php/chi-siamo.html"><?php echo $title1?></a></li>
<li><a href="#"><?php echo $title2 ?></a></li>
<li><a href="#"><?php echo $title3 ?></a></li>
<li><a href="#"><?php echo $title4 ?></a></li>
<li><a href="#"><?php echo $title5 ?></a></li>
</ul>
</div>
<script type="text/javascript">
$(function(){
$("#faded").faded({
speed: 4000,
crossfade: true,
autoplay: 5000,
autorestart: 500,
autopagination:false
});
});
</script><!-- slider end -->
</div>
<div id="pathway-w">
<div id="pathway">
<div id="pathway-b">
<jdoc:include type="modules" name="position-2"/>
</div>
<div id="datetime">
<?php echo date('d\ -F \-Y - H\:i'); ?>
</div>
</div>
</div>
<div id="wrapper"> <!---main--->
<?php if ($this->countModules('position-3') || $this->countModules('position-4') || $this->countModules('position-6') || $this->countModules('position-8')) { ?>
<div id="wrapper-box">
<div class="box">
<jdoc:include type="modules" name="position-3" style="xhtml" />
</div>
<div class="box">
<jdoc:include type="modules" name="position-4" style="xhtml" />
</div>
<div class="box">
<jdoc:include type="modules" name="position-6" style="xhtml" />
</div>
<div class="box-f">
<jdoc:include type="modules" name="position-8" style="xhtml" />
</div>
</div>
<?php } ?>
<div id="main<?php echo $width ?>">
<jdoc:include type="component" />
</div>
<?php if ($this->countModules('position-7')) { ?>
<div id="colonne">
<div id="right">
<jdoc:include type="modules" name="position-7" style="xhtml" />
</div>
</div>
<?php } ?>
</div>
<div id="ftb-f">
<div class="ftb">
<?php echo date( 'Y' ); ?> <?php echo $csite_name; ?> <?php require("template.php"); ?>
</div>
<div id="top">
<div class="top_button">
<a href="#" onclick="scrollToTop();return false;">
<img src="templates/<?php echo $this->template ?>/images/top.png" width="30" height="30" alt="top" />[/url]
</div>
</div>
</div>
</div>
</div>
</body>
</html>