il mio index del template è questo:
<?php
/**
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined('_JEXEC') or die('Restricted access');
$url = clone(JURI::getInstance());
$path = $this->baseurl.'/templates/'.$this->template;
$showrightColumn = ($this->countModules('right'));
$showheaderBannersColumn = ($this->countModules('top'));
$showBoxTextColumn = ($this->countModules('user1'));
$showflashColumn = ($this->countModules('user5'));
$showflash1Column = ($this->countModules('user2'));
if(JRequest::getCmd('task') != 'edit') $Edit = false; else $Edit = true;
?>
<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<script type="text/javascript" src="<?php echo $path ?>/scripts/cufon-yui.js"></script>
<script type="text/javascript" src="<?php echo $path ?>/scripts/YanusC_400.font.js"></script>
<script type="text/javascript" src="<?php echo $path ?>/scripts/cufon-replace.js"></script>
<script type="text/javascript" src="<?php echo $path ?>/scripts/maxheight.js"></script><!--equal-->
<link rel="stylesheet" href="<?php echo $path ?>/css/constant.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $path ?>/css/template.css" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="<?php echo $path ?>/scripts/ie_png.js"></script>
<script type="text/javascript">
ie_png.fix('.png');
</script>
<![endif]-->
</head>
<body id="body">
<!--header-->
<div class="tail-header clear">
<div class="main">
<div class="header clear">
<div class="fright">
<div class="row-search"><jdoc:include type="modules" name="user4" style="search" /><>
<div class="row-top-menu"><jdoc:include type="modules" name="user3" style="topmenu" /><>
<>
<div class="fleft">
<h1 id="logo"><a href="<?php echo $_SERVER['PHP_SELF']?>" title="La Meridiana Puegnago del garda - produzione vini ed olii"><img src="<?php echo $path ?>/images/logo.png" class="png" alt="La Meridiana Puegnago del Garda - produzione di vini e olii" /></a></h1>
<>
<>
<>
<>
<div class="tail-content png clear">
<div class="main bg-center-site png">
<div class="header-box">
<?php if ($showflash1Column) : ?>
<div class="flash">
<jdoc:include type="modules" name="user2" style="xhtml" />
<>
<?php endif;?>
<?php
$menu = & JSite::getMenu();
if ($menu->getActive() != $menu->getDefault()) { ?>
<?php if ($showflashColumn) : ?>
<div class="extra-flash-indent"><jdoc:include type="modules" name="user5" style="xhtml" /><>
<?php endif;?>
<?php } ?>
<?php if ($showheaderBannersColumn) : ?>
<div class="header-banner clear"><div class="header-banner-indent"><jdoc:include type="modules" name="top" style="wrapper_box_extra" /><><>
<?php endif;?>
<!--content-->
<div id="content">
<div class="clear">
<!--right-->
<?php if ($showrightColumn && !$Edit) : ?>
<div id="right">
<div class="right-indent">
<jdoc:include type="modules" name="right" style="wrapper_box" />
<>
<>
<?php endif;?>
<!--center-->
<div id="container">
<?php if ($showBoxTextColumn) : ?>
<div class="box-text"><jdoc:include type="modules" name="user1" style="BoxText" /><>
<?php endif;?>
<div class="clear">
<?php if ($this->getBuffer('message')) : ?>
<div class="error err-space">
<jdoc:include type="message" />
<>
<?php endif; ?>
<jdoc:include type="component" />
<>
<>
<>
<>
<>
<>
<>
<!--footer-->
<div class="tail-footer">
<div class="main">
<div class="footer">Società Agricola La Meridiana - Via Provinciale n. 9 25080 Puegnago del Garda (Brescia) - P.IVA 03685960985 - <a href="http://www.tissolution.it/">Powered by TIS Solution</a>
<>
<>
<>
<script type="text/javascript"> Cufon.now(); </script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-39012321-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>