Ho modificato il mio template seguendo le info del wiki..
ma il risultato è che non vedo più nulla...
dove ho sbagliato??
vi posto l'index.php
<?php defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' ); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php $iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<jdoc:include type="head" />
<?php
if ( $my->id ) {
initEditor();
}
if (( $this->countModules( 'user1' )) && ($this->countModules( 'user2' ))) {
//if both modules are loaded, we need a 50%-layout for them
$usera = 'user1';
$userb = 'user2';
} else if (($this->countModules( 'user1' )) || ($this->countModules( 'user2' ))) {
// if only one, then 100% no matter which one.
$usera = 'user3';
$userb = 'user3';
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo JURI::base() ?>/templates/madeyourweb/css/template_css.css" rel="stylesheet" type="text/css" />
<link href="<?php echo JURI::base() ?>/templates/madeyourweb/css/css_color_green.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="accessibility">
<a href="index.php#menu">
Menu[/url]
<a href="index.php#content">
Content/Inhalt[/url]
</div>
<div id="pagewidth-800" >
<div id="header" >
<div id="top-top">
<?php
if ($this->countModules( "user4" )) {
?>
<div id="search">
<jdoc:include type="modules" name='user4' style=-1 />
</div>
<?php
}
?>
<div id="topmenu">
<?php
if ($this->countModules( "user3" )) {
?>
<jdoc:include type="modules" name='user3' style=-1 />
<?php
}
?>
</div>
</div>
<div class="clr"></div>
<div id="top-bottom">
<a href="index.php">
<?php echo '<img src="' .$mainframe->getCfg( 'live_site' ). '/templates/' . GLOBALS['cur_template']. '/images/logo.gif" border="0" width="250" height="80" alt="logo" />'; ?>
[/url]
</div>
<?php
if ($this->countModules( "banner" )) {
?>
<div id="banner">
<jdoc:include type="modules" name='banner' style=-1 />
</div>
<?php
}
?>
</div>
<div id="outer-800" >
<div id="pathway">
<?php mospathway() ?>
</div>
<div id="leftcol">
<a name="menu">[/url]
<?php
if ($this->countModules( "left" )) { ?>
<jdoc:include type="modules" name='left' style=-3 />
<?php
}
?>
</div>
<?php
if (($this->countModules( "right" )) || ($this->countModules( "top" ))) {
?>
<div id="maincol-broad-800" >
<?php
} else {
?>
<div id="maincol-wide-800" >
<?php
}
if ($this->countModules( "user1" )) {
?>
<div id="<?php echo $usera; ?>">
<jdoc:include type="modules" name='user1' style=-2 />
</div>
<?php
}
if ($this->countModules( "user2" )) {
?>
<div id="<?php echo $userb; ?>">
<jdoc:include type="modules" name='user2' style=-2 />
</div>
<?php
}
?>
<div class="clr"></div>
<div class="content">
<a name="content">[/url]
<jdoc:include type="component" />
</div>
</div>
<?php
if (($this->countModules( "right" )) || ($this->countModules( "top" ))) {
?>
<div id="rightcol-broad">
<jdoc:include type="modules" name='top' style=-3/>
<jdoc:include type="modules" name='right' style=-3/>
</div>
<?php
}
?>
<div class="clr"></div>
</div>
<div id="footer-800" >
<?php include_once( $this->baseUrl .'/includes/footer.php' ); ?>
<jdoc:include type="modules" name='debug' style=-1 />
</div>
</div>
</body>
</html>]