Ritorno ancora su questo argomento
non avendo ancora trovato delle giuste soluzione ad alcuni problemi, x questo template.
Ho provato a cambiare qualcosa nel codice in index.php sono riuscita a mettere il modulo annunci in home page aggiungendo il seguente codice <td><?php mosLoadModules ( 'user9' ); ?></td> (cioè user9 = modulo annunci).Questo modulo dovrebbe comparire solo in home come ho specificato nel pannello di controllo.......ed invece
mi compare un modulo vuoto così come si vede in figura.
Cosa dovrei fare? Sbaglio qualcosa? ricopio il source index.php:
<?php defined( '_VALID_MOS' ) 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; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/bluebusiness/css/template_css.css" rel="stylesheet" type="text/css"/>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<style type="text/css">
<!--
.Stile1 {
font-family: Arial, Tahoma, Verdana;
font-size: 12px;
}
-->
</style>
</head>
<body>
<div class="kontener">
<table class="opak" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="bok">
<img class="lewtop" src="templates/bluebusiness/images/lewtop.jpg" />
</td>
<td>
<div class="toptlo"><?php mosLoadModules ( 'user4', -2 ); ?></div>
<div class="topmenutlo"><?php mosLoadModules ( 'user1', -2 ); ?></div>
<div class="bokprawtlo">
<img class="podmenu" src="templates/bluebusiness/images/podtopmenu.gif" />
</div>
</td></tr></table>
<img class="lewbok" src="templates/bluebusiness/images/lewbok.gif" />
<div class="minipasektlo">
<img class="lewbok" src="templates/bluebusiness/images/homeico.gif" /> <?php mosPathWay(); ?></div>
<?php if ( mosCountModules( "right" ) ) { ?>
<div class="rightmod">
<?php mosLoadModules ( 'right', -2 ); ?>
</div>
<?php } ?>
<table class="kont2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="lewakolumna" ><img src="templates/bluebusiness/images/prawdolbok.gif" /> </td>
<td class="zawartosc"><table class="kont3" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="10" class="k1"></td>
<td width="17" class="k2"></td>
<td width="91" class="k3"></td>
</tr>
<tr>
<td class="k4"></td>
<td bgcolor="#BBD0B2" ><center>
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><?php mosLoadModules ( 'user9' ); ?></td>
</tr>
</table>
</td>
<td class="k5"></td>
</tr>
<tr>
<td height="2" class="k6"></td>
<td class="k7"></td>
<td class="k8"></td>
</tr>
</table></td>
</tr>
</table>
<table class="kont2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="lewakolumna" >
<?php mosLoadModules ( 'left', -2 ); ?>
</td>
<td class="zawartosc">
<table class="kont3" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td class="k1"></td><td class="k2"></td><td class="k3"></td>
</tr>
<tr>
<td class="k4"></td><td >
<?php mosMainBody(); ?>
</td><td class="k5"></td>
</tr>
<tr>
<td class="k6"></td><td class="k7"></td><td class="k8"></td>
</tr>
</table>
</td>
</tr>
</table>
<div class="dolpasek Stile1"></div>
<div class="stopka Stile1">......</div>
</div>
</body>
</html>
[allegato eliminato da un amministratore]