Ciao a tutti
Questo è l index.php del mio template per joomla 1.6
<?php
/**
* @version $Id: index.php 18232 2010-07-24 09:21:45Z infograf768 $
* @package Joomla.Site
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<!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; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/template.css" type="text/css" />
</head>
<body>
<div id="<?php
$ora = date("s", time());
if( $ora >= 0 && $ora <= 20 ) {
echo "component_notte";
}
elseif ( $ora >= 20 && $ora <= 40 ) {
echo "component_giorno";
} else {
echo "component_sera";
}
?>"><jdoc:include type="component" /></div>
</body>
</html>
Questo è l index.php del mio template per joomla 1.5
<!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; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/template_base_by_boh_15/css/template_joomla.css" type="text/css" />
</head>
<body>
<div id="<?php
$ora = date("s", time());
if( $ora >= 0 && $ora <= 20 ) {
echo "component_notte";
}
elseif ( $ora >= 20 && $ora <= 40 ) {
echo "component_giorno";
} else {
echo "component_sera";
}
?>"><jdoc:include type="component" /></div>
</body>
</html>
perchè il template 1.5 funge a meraviglia e quello 1.6 no ?
Per la precisione, nel caso di 1.6 firebug dice che la pagina visualizzata non ha alcuna css rule .. quindi immagino non venga caricato il file css

Grazie a chiunque vorrà aiutare :°)