Back to top

Autore Topic: togliere colonna sinistra a vam_jblue  (Letto 8240 volte)

Offline plippo

  • Nuovo arrivato
  • *
  • Post: 7
    • Mostra profilo
togliere colonna sinistra a vam_jblue
« il: 21 Apr 2008, 17:34:36 »
ho provato a fare diverse modifiche al file index.php del template ma niente...

avete qualche consiglio da dare?

Offline = odino =

  • Instancabile
  • ******
  • Post: 5696
  • Sesso: Maschio
  • "In realtà li trasforma in menomati" Danzel
    • Mostra profilo
Re: togliere colonna sinistra a vam_jblue
« Risposta #1 il: 21 Apr 2008, 20:05:51 »
Salve e benvenuto sul forum  :)

per il suo problema dovrebbe bastare rimuovere il sorgente

Codice: [Seleziona]
<?php mosLoadModules ('left'); ?>
 :)

Offline plippo

  • Nuovo arrivato
  • *
  • Post: 7
    • Mostra profilo
Re: togliere colonna sinistra a vam_jblue
« Risposta #2 il: 22 Apr 2008, 09:21:03 »
non funziona  :(

riporto qui il codice...
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = split( '=', _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>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
   initEditor();
}

if (mosCountModules('user1') + mosCountModules('user2') < 2) {
  $greybox = 'large';
} else {
  $greybox = 'small';
}
?>

<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
</head>
<body id="page_bg">
<a name="up" id="up">[/url]

<div class="center" align="center">
  <table class="minimal" width="810" id="main">
    <tr>
      <td class="left_shadow"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="1" width="17" />
</td>
      <td class="wrapper">
          <div id="header">
               <div id="logo"></div>
               </div>
          <div id="tabbar">
               <?php mosLoadModules('user3', -1); ?>
            </div>
            <div id="colorbar"></div>
            <div id="contentarea">
               <table cellpadding="0" cellspacing="0" border="0" width="760">
                  <tr valign="top">
                     <td class="sidenav">
                       <div class="forcewidth">
                        <?php if (mosCountModules('top') > 0) { ?>
                           <div class="box_t"></div>
                           <div class="box_m">
                              <?php mosLoadModules('top',-3); ?>
                           </div>
                           <div class="box_b"></div>
                        <?php } ?>
                        <?php if (mosCountModules('left') > 0) { ?>
                           <div id="left">
                              <?php mosLoadModules('left', -3); ?>
                           </div>
                        <?php } ?>
                        

                        <img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="1" width="194" />

                       </div>
              </td>
              <td class="seperator"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="1" width="16" /></td>
                     <td class="middle">
                     <div class="banner"><?php mosLoadModules('banner', -1); ?></div>
                       <?php if (mosCountModules('user1') || mosCountModules('user2')) { ?>
                        <table class="minimal" width="550" id="greybox">
                           <tr valign="top">
                             <?php if (mosCountModules('user1') > 0) { ?>
                              <td class="<?php echo $greybox; ?>box">
                                 <?php mosLoadModules('user1', -2); ?>
                              </td>
                              <?php } ?>
                              <?php if (mosCountModules('user1') && mosCountModules('user2')) { ?>
                              <td class="spacer"></td>
                              <?php } ?>
                              <?php if (mosCountModules('user2') > 0) { ?>
                              <td class="<?php echo $greybox; ?>box">
                                 <?php mosLoadModules('user2', -2); ?>
                              </td>
                              <?php } ?>
                           </tr>
                        </table>
                        <?php } ?>
                        <div id="pathway"><?php mosPathWay(); ?></div>
                        <table width="100%">
                           <tr valign="top">
                              <td>   <?php mosMainBody(); ?>
                                    <div class="copyright">
                                       <?php mosLoadModules('footer'); ?><?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
                                    </div>
                              </td>
                              <?php if (mosCountModules('right') > 0) { ?>

                              <td class="seperator"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="1" width="16" /></td>
                              <td>
                              <div >
                                 <?php mosLoadModules('right', -2); ?>
                              </div>

                              </td>
                              <?php } ?>
                           </tr>
                        </table>
                     </td>
                  </tr>
               </table>
            </div>
      </td>
      <td class="right_shadow"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="1" width="17" />
</td>
    </tr>
    <tr>
      <td class="left_bot_shadow"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="41" width="17" />
</td>
      <td class="bottom">
        <div id="footer">
              design by rockettheme.com | edited by joomlaitalia.com
            </div>
      </td>
      <td class="right_bot_shadow"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="41" width="17" />
</td>

    </tr>
  </table>
</div>


<?php mosLoadModules( 'debug', -1 );?>
</body>
</html>

Offline = odino =

  • Instancabile
  • ******
  • Post: 5696
  • Sesso: Maschio
  • "In realtà li trasforma in menomati" Danzel
    • Mostra profilo
Re: togliere colonna sinistra a vam_jblue
« Risposta #3 il: 22 Apr 2008, 13:25:56 »
rimuovere mosLoad e mos Coune left  :)

Offline plippo

  • Nuovo arrivato
  • *
  • Post: 7
    • Mostra profilo
Re: togliere colonna sinistra a vam_jblue
« Risposta #4 il: 22 Apr 2008, 14:01:52 »
se ho ben capito dovevo togliere questo pezzo ma non funziona...

       <?php } ?>
                         <?php if (mosCountModules('left') > 0) { ?>
                           <div id="left">
                              <?php mosLoadModules('left', -3); ?>
                           </div>
                        <?php } ?>

Offline = odino =

  • Instancabile
  • ******
  • Post: 5696
  • Sesso: Maschio
  • "In realtà li trasforma in menomati" Danzel
    • Mostra profilo
Re: togliere colonna sinistra a vam_jblue
« Risposta #5 il: 22 Apr 2008, 14:04:44 »
allora, quelli sono i richiami alla posizione left, sicuro che non ce ne siano altri nel template? fino hai operato bene cmq, eran quelli che dovevi togliere...

Offline plippo

  • Nuovo arrivato
  • *
  • Post: 7
    • Mostra profilo
Re: togliere colonna sinistra a vam_jblue
« Risposta #6 il: 22 Apr 2008, 14:10:37 »
in quel file no(index.php)

Offline = odino =

  • Instancabile
  • ******
  • Post: 5696
  • Sesso: Maschio
  • "In realtà li trasforma in menomati" Danzel
    • Mostra profilo
Re: togliere colonna sinistra a vam_jblue
« Risposta #7 il: 22 Apr 2008, 14:16:49 »
mmm allora il problema è più arduo del previsto

puoi postare l'head del template?

 



Web Design Bolzano Kreatif