ciao, ho inserito il codice che mi hai detto tu, ma lo slidshow è spartio anche in home page..
il codice che cè nella index.php è questo (con il codice che mi hai detto tu, l'ho messo li..dimmi se è giusto):
<?php
/****************************************************
#####################################################
##-------------------------------------------------##
## ANTESATE2- Version 2.0.0 ##
##-------------------------------------------------##
## Copyright = globbersthemes.com- 2010 ##
## Date = decembre 2010 ##
## Author = globbers ##
## Websites = http://www.globbersthemes.com ##
## ##
#####################################################
****************************************************/
// SUCKERFISH MENU SWITCH //
$menu_name = $this->params->get("menuName", "mainmenu");
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo _LANGUAGE; ?>" xml:lang="<?php echo _LANGUAGE; ?>">
<head>
<?php
define( 'TEMPLATEPATH', dirname(__FILE__) );
include( TEMPLATEPATH.DS."suckerfish.php");
?>
<jdoc:include type="head" />
<?php if($my->id) initEditor(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php
# main width#
$mod_left = $this->countModules( 'left' );
$mod_right = $this->countModules( 'right' );
if ( $mod_left && $mod_right ) {
$width = '';
} elseif ( ($mod_left || $mod_right) ) {
$width = '-mid';
} else {
$width = '-full';
}
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/antesate2/css/tdefaut.css" type="text/css" media="all" />
<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/mouseover.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/slideshow.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/scripts/script_png.js"></script>
<link rel="icon" type="image/gif" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.gif" />
<!--[if lte IE 6]>
<link href="templates/<?php echo $this->template ?>/css/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 7]>
<link href="templates/<?php echo $this->template ?>/css/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<style type="text/css">
img{ behavior: url(<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/scripts/jm_iepngfix.htc); }
</style>
<?php //SETTING SLIDE IMAGES
$pause = $this->params->get("pause", 5);
$longueur= $this->params->get("longueur", 850);
$hauteur = $this->params->get("hauteur", 347);
?>
</head>
<body>
<div class="pagewidth">
<div id="header">
<div id="header_sitename">
<a href="index.php"><img src="templates/<?php echo $this->template ?>/images/antes_logo.jpg" width="244" height="86" alt="logotype" /></a>
</div>
<div id="search_form">
<jdoc:include type="modules" name="user4" />
</div>
</div>
<div id="topmenu">
<div id="navigation">
<?php mosShowListMenu($menu_name); ?>
</div>
</div><?php if(JRequest::getVar('view') == "frontpage" ) : ?>
<div id="slideshow-wrapper">
<div id="slideshow">
<img src="templates/<?php echo $this->template ?>/images/slide1.jpg" alt="CISCO" />
<img src="templates/<?php echo $this->template ?>/images/slide2.jpg" alt="RightNow" />
<img src="templates/<?php echo $this->template ?>/images/slide3.jpg" alt="Amazon.com" />
<img src="templates/<?php echo $this->template ?>/images/slide4.jpg" alt="Service-Now.com" />
</div>
</div><?php endif; ?>
<script type="text/javascript" charset="utf-8">
var $j = jQuery.noConflict();
$j(document).ready(function(){
$j("#slideshow").slideshow({
pauseSeconds:<?php echo $pause ?>,
width:<?php echo $longueur ?>,//default 850,
height:<?php echo $hauteur ?>,//default 347,
fadeSpeed: 0.7,
caption: false
});
});
</script>
<div id="antes_main">
<div id="main<?php echo $width; ?>">
<jdoc:include type="component" />
</div>
<div id="colonnewrap<?php echo $width; ?>">
<?php if ($this->countModules('left')) { ?>
<div id="col1">
<div class="element">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
</div>
<?php } ?>
<?php if ($this->countModules('right')) { ?>
<div id="col2">
<div class="element">
<jdoc:include type="modules" name="right" style="xhtml" />
</div>
</div>
<?php } ?>
</div>
</div>
<div class="pagewidth">
<div id="footer">
<div id="footer_box1"><div class="f-element">
<jdoc:include type="modules" name="user5" style="xhtml" />
</div>
</div>
<div id="footer_box2"><div class="f-element">
<jdoc:include type="modules" name="user6" style="xhtml" />
</div>
</div>
<div id="footer_box3"><div class="f-element">
<jdoc:include type="modules" name="user7" style="xhtml" />
</div>
</div>
</div>
<div id="footer_bottom">
<div id="footer_tm">
<div class="ftb">
Copyright© <?php echo date( '2008 - Y' ); ?> <?php echo $mainframe->getCfg('sitename');?>.
</div>
</div>
<div id="top">
<div class="top_button">
<a href="#" onclick="scrollToTop();return false;"><img src="templates/<?php echo $this->template ?>/images/top.jpg" width="26" height="25" alt="top" /></a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>