Back to top

Autore Topic: problema posizione oggetti  (Letto 1790 volte)

Offline clubbu

  • Nuovo arrivato
  • *
  • Post: 28
  • Sesso: Maschio
  • If you know RedHat.....
    • Mostra profilo
problema posizione oggetti
« il: 03 Set 2007, 14:45:23 »
salve a tutti...

avrei un problema vorrei spostare degli oggetti presenti sul tmplate che ho scaricato! Il templat si chiamata dg_portal scaricato dal sito di template tedesco vi posto lo scren per farvi vedere ciò che intendo dire...

praticamente vorrei far andare il blocco arancio a sinistra mentre lo spazio articoli "non ci sono articoli da visualizzare" al centro.. ho provato dall'index.php ad inserir il tag dig sopra il blocco del riquadro arancione ma senza nessun risultato :(..

qualcuno puo' aiutarmi?

posto anche il file index.php con il codice

Codice: [Seleziona]
<?php
defined
'_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso explode'='_ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'$iso[1] .'"?' .'>';
?>

<!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">
<head>
<meta http-equiv="Content-Language" content="en-us">
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
// common
DEFINE('_TAB1','Tab 1');
DEFINE('_TAB2','Tab 2');
DEFINE('_TAB3','Tab 3');
DEFINE('_TAB4','Tab 4');
?>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<link href="<?php echo $mosConfig_live_site;?>/templates/dg_portal/css/template_css.css" rel="stylesheet" type="text/css" />
<link id="luna-tab-style-sheet" type="text/css" rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/dg_portal/js/tabpane_rtl.css" />
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/js/tabpane.js"></script></head>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" style="text-align: right">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/left.png" alt="No Image" /></td>
<td width="877" valign="top" style="background-color: #0B0E13">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/logo.jpg" alt="No Image" /></td>
</tr>
<tr>
<td style="height: 28px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/top_link.png'); background-repeat: no-repeat; background-position: left top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="209">&nbsp;</td>
<td><?php mosLoadModules 'user3', -1); ?></td>
<td width="15">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="2" width="100%">
<tr>
<td valign="top"><? mosMainBody();?></td>
<td width="184" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<?
if ( mosCountModules ('login') ) {
?>

<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/top_login.jpg" alt="No Image" /></td>
</tr>
<tr>
<td style="height: 160px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bac_login2.png'); background-repeat: repeat-y; background-position: left top" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="height: 160px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bac_login.jpg'); background-repeat: no-repeat; background-position: left top">
<tr>
<td valign="top">
<table border="0" cellpadding="2" width="100%">
<tr>
<td class="login"><?php mosLoadModules 'login', -1); ?></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bot_login.png" alt="No Image" /></td>
</tr>
<?
}
?>

<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/top_left.png" alt="No Image" /></td>
</tr>
<tr>
<td style="height: 400px; background-color: #E69900" valign="top">
<?php mosLoadModules 'left', -3); ?></td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bot_left.png" alt="No Image" /></td>
</tr>

</table>
</td>
<td width="291" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="294">
<tr>
<td><div class="tab-page" id="modules-cpanel1">
<script type="text/javascript">
var tabPane1 = new WebFXTabPane( document.getElementById( "modules-cpanel1" ), 1 )
</script>
<?
if ( mosCountModules ('tab1') ) {
?>
<div class="tab-page" id="module6">
<h2 class="tab"><?php echo _TAB1;?></h2>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="tabbase">
<tr>
<td style="padding-top: 5px; padding-left: 5px;"><?php mosLoadModules 'tab1', -1); ?></td>
</tr>
</table>
</div>
<?
}
if ( mosCountModules ('tab2') ) {
?>
<div class="tab-page" id="module7">
<h2 class="tab"><?php echo _TAB2;?></h2>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="tabbase">
 
<tr>

<td style="padding-top: 5px; padding-left: 5px;" ><?php mosLoadModules 'tab2', -1); ?></td>

</tr>
 
</table>
</div>
<?
}
if ( mosCountModules ('tab3') ) {
?>
<div class="tab-page" id="module8">
<h2 class="tab"><?php echo _TAB3;?></h2>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="tabbase">
<tr>
<td style="padding-top: 5px; padding-left: 5px;"><?php mosLoadModules 'tab3', -1); ?></td>
</tr>
</table>
</div>
<?
}
if ( mosCountModules ('tab4') ) {
?>
<div class="tab-page" id="module9">
<h2 class="tab"><?php echo _TAB4;?></h2>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="tabbase">
<tr>
<td style="padding-top: 5px; padding-left: 5px;"><?php mosLoadModules 'tab4', -1); ?></td>
</tr>
</table>
</div>
<?
}
?>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/banner.jpg" alt="No Image" /></td>
</tr>
<tr>
<td style="height: 97px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/search.jpg'); background-repeat: no-repeat; background-position: left bottom">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="87">&nbsp;</td>
<td><?php mosLoadModules 'user4', -1); ?></td>
<td width="26">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<?php if(file_exists($mosConfig_absolute_path."/components/com_virtuemart/virtuemart.php")){ ?>
<tr>
<td style="height: 97px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/shop_cart.jpg'); background-repeat: no-repeat; background-position: left bottom">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="87">&nbsp;</td>
<td><?php mosLoadModules 'cart', -1); ?></td>
<td width="26">&nbsp;</td>
</tr>
</table>
</td>
</tr> <tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="291">
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/spacer.png"></td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/top_new.png" alt="No Image" /></td>
</tr>
<tr>
<td style="background-color: #6B7FAF">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="6">&nbsp;</td>
<td><?php mosLoadModules 'new_pr', -1); ?></td>
<td width="8">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bot_new.png" alt="No Image" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="291">
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/spacer.png"></td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/top_top.png" alt="No Image" /></td>
</tr>
<tr>
<td style="background-color: #6B7FAF">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="6">&nbsp;</td>
<td><?php mosLoadModules 'top_pr', -1); ?></td>
<td width="8">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bot_new.png" alt="No Image" /></td>
</tr>
</table>
</td>
</tr>
<?php } else { ?>
<?php ?>

</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="99%" style="background-color: #455269">
<tr>
<td width="5" valign="top">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/right_footer.png" alt="No Image" /></td>
<td class="footer"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="footer">Design : <a href="http://www.joomlamarket.de">Joomlamarket.de</a></td>
</tr>
<tr>
<td class="footer"><?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
</td>
</tr>
</table></td>

<td width="5" valign="top">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/left_footer.png" alt="No Image" /></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
<td valign="top">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/right.png" alt="No Image" /></td>
</tr>
</table>
</body>
</html>

[allegato eliminato da un amministratore]

Offline agosto

  • Nuovo arrivato
  • *
  • Post: 10
    • Mostra profilo
Re: problema posizione oggetti
« Risposta #1 il: 04 Set 2007, 01:23:39 »
Non so se ho capito bene?
Codice: [Seleziona]
<?php
defined
'_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso explode'='_ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'$iso[1] .'"?' .'>';
?>

<!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">
<head>
<meta http-equiv="Content-Language" content="en-us">
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
// common
DEFINE('_TAB1','Tab 1');
DEFINE('_TAB2','Tab 2');
DEFINE('_TAB3','Tab 3');
DEFINE('_TAB4','Tab 4');
?>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<link href="<?php echo $mosConfig_live_site;?>/templates/dg_portal/css/template_css.css" rel="stylesheet" type="text/css" />
<link id="luna-tab-style-sheet" type="text/css" rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/dg_portal/js/tabpane_rtl.css" />
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/js/tabpane.js"></script></head>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" style="text-align: right">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/left.png" alt="No Image" /></td>
<td width="877" valign="top" style="background-color: #0B0E13">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/logo.jpg" alt="No Image" /></td>
</tr>
<tr>
<td style="height: 28px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/top_link.png'); background-repeat: no-repeat; background-position: left top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="209">&nbsp;</td>
<td><?php mosLoadModules 'user3', -1); ?></td>
<td width="15">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="2" width="100%">
<tr>
  <td width="184" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="100%">
                          <?
if ( mosCountModules ('login') ) {
?>
                          <tr>
                            <td><img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/top_login.jpg" alt="No Image" /></td>
                          </tr>
                          <tr>
                            <td style="height: 160px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bac_login2.png'); background-repeat: repeat-y; background-position: left top" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="100%" style="height: 160px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bac_login.jpg'); background-repeat: no-repeat; background-position: left top">
                                <tr>
                                  <td valign="top"><table border="0" cellpadding="2" width="100%">
                                      <tr>
                                        <td class="login"><?php mosLoadModules 'login', -1); ?></td>
                                      </tr>
                                  </table></td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td><img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bot_login.png" alt="No Image" /></td>
                          </tr>
                          <?
}
?>
                          <tr>
                            <td><img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/top_left.png" alt="No Image" /></td>
                          </tr>
                          <tr>
                            <td style="height: 400px; background-color: #E69900" valign="top"><?php mosLoadModules 'left', -3); ?></td>
                          </tr>
                          <tr>
                            <td><img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bot_left.png" alt="No Image" /></td>
                          </tr>
                      </table></td>
<td valign="top"><? mosMainBody();?></td>
<td width="291" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="294">
<tr>
<td><div class="tab-page" id="modules-cpanel1">
<script type="text/javascript">
var tabPane1 = new WebFXTabPane( document.getElementById( "modules-cpanel1" ), 1 )
</script>
<?
if ( mosCountModules ('tab1') ) {
?>
<div class="tab-page" id="module6">
<h2 class="tab"><?php echo _TAB1;?></h2>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="tabbase">
<tr>
<td style="padding-top: 5px; padding-left: 5px;"><?php mosLoadModules 'tab1', -1); ?></td>
</tr>
</table>
</div>
<?
}
if ( mosCountModules ('tab2') ) {
?>
<div class="tab-page" id="module7">
<h2 class="tab"><?php echo _TAB2;?></h2>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="tabbase">
 
<tr>

<td style="padding-top: 5px; padding-left: 5px;" ><?php mosLoadModules 'tab2', -1); ?></td>
</tr>
</table>
</div>
<?
}
if ( mosCountModules ('tab3') ) {
?>
<div class="tab-page" id="module8">
<h2 class="tab"><?php echo _TAB3;?></h2>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="tabbase">
<tr>
<td style="padding-top: 5px; padding-left: 5px;"><?php mosLoadModules 'tab3', -1); ?></td>
</tr>
</table>
</div>
<?
}
if ( mosCountModules ('tab4') ) {
?>
<div class="tab-page" id="module9">
<h2 class="tab"><?php echo _TAB4;?></h2>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="tabbase">
<tr>
<td style="padding-top: 5px; padding-left: 5px;"><?php mosLoadModules 'tab4', -1); ?></td>
</tr>
</table>
</div>
<?
}
?>
</div> </td>
</tr>
</table> </td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/banner.jpg" alt="No Image" /></td>
</tr>
<tr>
<td style="height: 97px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/search.jpg'); background-repeat: no-repeat; background-position: left bottom">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="87">&nbsp;</td>
<td><?php mosLoadModules 'user4', -1); ?></td>
<td width="26">&nbsp;</td>
</tr>
</table> </td>
</tr>
<?php if(file_exists($mosConfig_absolute_path."/components/com_virtuemart/virtuemart.php")){ ?>
<tr>
<td style="height: 97px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/shop_cart.jpg'); background-repeat: no-repeat; background-position: left bottom">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="87">&nbsp;</td>
<td><?php mosLoadModules 'cart', -1); ?></td>
<td width="26">&nbsp;</td>
</tr>
</table> </td>
</tr> <tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="291">
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/spacer.png"></td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/top_new.png" alt="No Image" /></td>
</tr>
<tr>
<td style="background-color: #6B7FAF">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="6">&nbsp;</td>
<td><?php mosLoadModules 'new_pr', -1); ?></td>
<td width="8">&nbsp;</td>
</tr>
</table> </td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bot_new.png" alt="No Image" /></td>
</tr>
</table> </td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="291">
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/spacer.png"></td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/top_top.png" alt="No Image" /></td>
</tr>
<tr>
<td style="background-color: #6B7FAF">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="6">&nbsp;</td>
<td><?php mosLoadModules 'top_pr', -1); ?></td>
<td width="8">&nbsp;</td>
</tr>
</table> </td>
</tr>
<tr>
<td>
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/bot_new.png" alt="No Image" /></td>
</tr>
</table> </td>
</tr>
<?php } else { ?>
<?php ?>
</table> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="99%" style="background-color: #455269">
<tr>
<td width="5" valign="top">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/right_footer.png" alt="No Image" /></td>
<td class="footer"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="footer">Design : <a href="http://www.joomlamarket.de">Joomlamarket.de</a></td>
</tr>
<tr>
<td class="footer"><?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
</td>
</tr>
</table></td>

<td width="5" valign="top">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/left_footer.png" alt="No Image" /></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
<td valign="top">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_portal/images/right.png" alt="No Image" /></td>
</tr>
</table>
</body>
</html>

 



Web Design Bolzano Kreatif