Back to top

Autore Topic: Ancora rhuk_solarflare_ii  (Letto 2825 volte)

Offline fabriziothesky

  • Nuovo arrivato
  • *
  • Post: 15
    • Mostra profilo
Ancora rhuk_solarflare_ii
« il: 22 Mar 2007, 16:13:49 »
Ciao a tutti son nuovo del forum!!!
Ho letto tanto ma purtroppo nn son riuscito a risolvere il mio problema con rhuk_solarflare_ii!!
Ho levato la scritta Powered By Joomla, però nn son riuscito a far salire i sondaggi!!!
Ho dovuto per il momento coreggere il problema esclusivamente creando un bordo della tabella banner
giusto per nn avere un vuoto completo sulla destra.
lo potete vedere qui

http://www.fabriziothesky.com

ho controllato tra i moduli e la posizione Del modulo sondaggi è giusta, cioè al primo posto!!
Insomma nn capisco dove sbaglio!!

 incollo il codice della mia index:

<?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>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
   initEditor();
}
$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;
//script to determine which div setup for layout to use based on module configuration
$user1 = 0;
$user2 = 0;
$colspan = 0;
$right = 0;
// banner combos

//user1 combos
if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
   $user1 = 2;
   $user2 = 2;
   $colspan = 3;
} elseif ( mosCountModules( 'user1' ) == 1 ) {
   $user1 = 1;
   $colspan = 1;
} elseif ( mosCountModules( 'user2' ) == 1 ) {
   $user2 = 1;
   $colspan = 1;
}

//right based combos
if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
   $right = 1;
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/css/template_css.css" rel="stylesheet" type="text/css"/>
</head>
<body>

<div align="center">
   <table border="0" cellpadding="0" cellspacing="0" width="808">
      <tr>
         <td class="outline">
              <div id="buttons_outer">
                <div id="buttons_inner">
   
     <div id="buttons">
                  <?php mosLoadModules ( 'user3', -1); ?>
               </div>
              </div>
              </div>
              <div id="search_outer">
                <div id="search_inner">
                <?php mosLoadModules ( 'user4', -1 ); ?>
                </div>
              </div>
              <div class="clr"></div>
              <div id="header_outer">
                <div id="header"><object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" height="150" width="635" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
                   <param value="tuo.swf" name="movie" /><param value="high" name="quality" /><param value="#FFFFFF" name="bgcolor" /><param name="LOOP" value="false" />
<EMBED
            src="/tuo.swf"  WIDTH="635" HEIGHT="150" loop="false"
            ALIGN=""
            quality=high bgcolor=#FFFFFF TYPE="application/x-shockwave-flash"
            PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</object>
                 </div>
                 <div id="top_outer">
                  <div id="top_inner">
                  <?php
                    if ( mosCountModules( 'top' ) ) {
                       mosLoadModules ( 'top', -2 );
                    } else {
                       ?>
                       <span class="error">Top Module Empty</span>
                       <?php
                    }
                    ?>
                 </div>
              </div>
              </div>
              <div id="left_outer">
                 <div id="left_inner">
                 <?php mosLoadModules ( 'left', -2 ); ?>
                 </div>
              </div>
              <div id="content_outer">
               <div id="content_inner">
               <?php
                 if ( mosCountModules ('banner') ) {
                    ?>
                    <table border="1%" cellpadding="0" cellspacing="0" width="100%" class="content_table">
                  <tr>
                        <td><?php mosLoadModules( 'banner', -1 ); ?></td>
                   
                 </table>
                     <?php
                 }
                 ?>
                     <table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
                  <tr valign="top">
                     <td width="100%">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">

                        <?php
                        if ($colspan > 0) {
                        ?>
                           <tr valign="top">
                              <?php
                             if ( $user1 > 0 ) {
                                ?>
                                <td width="50%">
                                   <div class="user1_inner">
                                   <?php mosLoadModules ( 'user1', -2 ); ?>
                                   </div>                                </td>
                                <?php
                             }
                             if ( $colspan == 3) {
                               ?>
                                 <td width="2">
                                    <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="10" width="2"/>                                 </td>
                              <?php
                              }
                             if ( $user2 > 0 ) {
                                ?>
                                <td width="50%">
                                   <div class="user2_inner">
                                   <?php mosLoadModules ( 'user2', -2 ); ?>
                                   </div>                                </td>
                                <?php
                             }
                              ?>
                           </tr>
                           <tr>
                              <td colspan="<?php echo $colspan; ?>">
                                 <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="2" width="100"/>
                              </td>
                           </tr>
                           <?php
                           }
                        ?>
                        <tr>
                           <td colspan="<?php echo $colspan; ?>">
                              <div id="pathway_text">
                              <?php mosPathWay(); ?>
                              </div>                           </td>
                        </tr>
                        <tr>
                          <td colspan="<?php echo $colspan; ?>" class="body_outer">

                              <?php mosMainBody(); ?>                          </td>
                        </tr>
                        </table>                     </td>
                     <?php
                     if ( $right > 0 ) {
                    ?>
                    <td>
                       <div id="right_outer">
                          <div id="right_inner">
                          <?php mosLoadModules ( 'right', -2 ); ?>
                          </div>
                       </div>                    </td>
                    <?php
                 }
                 ?>
                  </tr>
                 </table>
              </div>
           </div>        </td>
     </tr>
  </table>
</div>
<div align="center">
  <?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
  <?php mosLoadModules( 'debug', -1 );?>
  <!-- Inizio Codice Shinystat -->
  <script type="text/javascript" language="JavaScript" SRC="http://codice.shinystat.com/cgi-bin/getcod.cgi?USER=fabriziothesky"></script>
  <noscript>
  <A HREF="http://www.shinystat.com" target="_top">
  Web site ROI" BORDER="0[/url]
  </noscript>
</div>
<!-- Fine Codice Shinystat --></body>
</html>
« Ultima modifica: 22 Mar 2007, 16:44:54 da fabriziothesky »

Offline maria.p

  • Abituale
  • ****
  • Post: 1045
    • Mostra profilo
Re: Ancora rhuk_solarflare_ii
« Risposta #1 il: 22 Mar 2007, 17:06:55 »
se levi il modulo banner i moduli di destra salgono quindi vuol dire che è lui che occupa troppo spazio fino al bordo destro, credo che dovresti modificare la struttura per ridurre lo spazio del banner

Offline fabriziothesky

  • Nuovo arrivato
  • *
  • Post: 15
    • Mostra profilo
Re: Ancora rhuk_solarflare_ii
« Risposta #2 il: 22 Mar 2007, 17:33:09 »
Ho provato ma niente da fare!

Offline maria.p

  • Abituale
  • ****
  • Post: 1045
    • Mostra profilo
Re: Ancora rhuk_solarflare_ii
« Risposta #3 il: 22 Mar 2007, 17:38:45 »
appena posso cerco di modificartelo.

Offline fabriziothesky

  • Nuovo arrivato
  • *
  • Post: 15
    • Mostra profilo
Re: Ancora rhuk_solarflare_ii
« Risposta #4 il: 22 Mar 2007, 17:56:14 »
Grazie saresti gentilissima!!!

Offline maria.p

  • Abituale
  • ****
  • Post: 1045
    • Mostra profilo
Re: Ancora rhuk_solarflare_ii
« Risposta #5 il: 22 Mar 2007, 22:22:03 »
così dovrebbe funzionare, questo è il mio codice, manca la parte finale tua che puoi aggiungere.

<?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>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
   initEditor();
}
$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;
//script to determine which div setup for layout to use based on module configuration
$user1 = 0;
$user2 = 0;
$colspan = 0;
$right = 0;
// banner combos

//user1 combos
if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
   $user1 = 2;
   $user2 = 2;
   $colspan = 3;
} elseif ( mosCountModules( 'user1' ) == 1 ) {
   $user1 = 1;
   $colspan = 1;
} elseif ( mosCountModules( 'user2' ) == 1 ) {
   $user2 = 1;
   $colspan = 1;
}

//right based combos
if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
   $right = 1;
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/css/template_css.css" rel="stylesheet" type="text/css"/>
</head>
<body>

<div align="center">
   <table border="0" cellpadding="0" cellspacing="0" width="808">
      <tr>
         <td class="outline">
              <div id="buttons_outer">
                <div id="buttons_inner">
                  <div id="buttons">
                  <?php mosLoadModules ( 'user3', -1); ?>
                  </div>
               </div>
              </div>
              <div id="search_outer">
                <div id="search_inner">
                <?php mosLoadModules ( 'user4', -1 ); ?>
                </div>
              </div>
              <div class="clr"></div>
              <div id="header_outer">
                 <div id="header">
                 &nbsp;
                 </div>
                 <div id="top_outer">
                  <div id="top_inner">
                  <?php
                    if ( mosCountModules( 'top' ) ) {
                       mosLoadModules ( 'top', -2 );
                    } else {
                       ?>
                       <span class="error">Top Module Empty</span>
                       <?php
                    }
                    ?>
                   </div>
              </div>
              </div>
              <div id="left_outer">
                 <div id="left_inner">
                 <?php mosLoadModules ( 'left', -2 ); ?>
                 </div>
              </div>
<div id="content_outer">
               <div id="content_inner">
               <?php
                 if ( mosCountModules ('banner') ) {
                    ?>

                                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
                  <tr>
                                             </tr>
                     </table>

               <?php
                 }
                 ?>
                 <table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
                  <tr valign="top">
                     <td width="99%">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">

<tr>
                           <td colspan="<?php echo $colspan; ?>">
                              <div id="banner">
                              <?php mosLoadModules ( 'banner'); ?>                              </div>
                           </td>
                        </tr>

                        <?php
                        if ($colspan > 0) {
                        ?>
                           <tr valign="top">
                              <?php
                             if ( $user1 > 0 ) {
                                ?>
                                <td width="50%">
                                   <div class="user1_inner">
                                   <?php mosLoadModules ( 'user1', -2 ); ?>
                                   </div>
                                </td>
                                <?php
                             }
                             if ( $colspan == 3) {
                               ?>
                                 <td width="2">
                                    <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="10" width="2"/>
                                 </td>
                              <?php
                              }
                             if ( $user2 > 0 ) {
                                ?>
                                <td width="50%">
                                   <div class="user2_inner">
                                   <?php mosLoadModules ( 'user2', -2 ); ?>
                                   </div>
                                </td>
                                <?php
                             }
                              ?>
                           </tr>

                              
                           <tr>
                              <td colspan="<?php echo $colspan; ?>">
                                 <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="2" width="100"/>

                              </td>
                           </tr>
                           <?php
                           }
                        ?>


                        <tr>
                           <td colspan="<?php echo $colspan; ?>">
                              <div id="pathway_text">
                              <?php mosPathWay(); ?>
                              </div>
                           </td>
                        </tr>
<tr valign="top">
                           
                                <td colspan="<?php echo $colspan; ?>">
                                                                   <?php mosLoadModules ( 'user9', -2 ); ?>
                                
                          
                           </tr>
                        
<tr>
                           <td colspan="<?php echo $colspan; ?>" class="body_outer">
                              <?php mosMainBody(); ?>
                           </td>
                        </tr>
                        </table>


                     </td>
                     <?php
                     if ( $right > 0 ) {
                    ?>
                    <td>
                       <div id="right_outer">
                          <div id="right_inner">
                          <?php mosLoadModules ( 'right', -2 ); ?>
                          </div>
                       </div>
                    </td>
                    <?php
                 }
                 ?>

                  </tr>
                  </table>
              </div>
           </div>
        </td>
     </tr>
  </table>
</div>
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
<?php mosLoadModules( 'debug', -1 );?>
</body>
</html>

Offline fabriziothesky

  • Nuovo arrivato
  • *
  • Post: 15
    • Mostra profilo
Re: Ancora rhuk_solarflare_ii
« Risposta #6 il: 23 Mar 2007, 10:15:04 »
Ho provato e vedo che il problema che avevo viene risolto su firefox mentra su internet explorer la mia home in questa maniere risulta sfalsata!!!! Adesso riprovo nn vorrei aver sbagliato aggiungendo il mio header in flash. Grazie mille per la celere risposta!!!!
Cmq vi faccio sapere appena risolvo....ma sopratutto se risolvo :D :D

Offline maria.p

  • Abituale
  • ****
  • Post: 1045
    • Mostra profilo
Re: Ancora rhuk_solarflare_ii
« Risposta #7 il: 23 Mar 2007, 11:18:23 »
controlla bene se hai sbagliato ad inserire il codice perchè il template da me modificato fa salire il modulo sondaggi sia in IE che in firefox e soprattutto non sballa il resto, poi non ho capito se sopra il sondaggio vuoi un banner oppure no visto che attualmente nel tuo sito c'è il banner.

Offline fabriziothesky

  • Nuovo arrivato
  • *
  • Post: 15
    • Mostra profilo
Re: Ancora rhuk_solarflare_ii
« Risposta #8 il: 23 Mar 2007, 12:07:07 »
Ciao,
no il bannerino di cui parli non mi serve l'ho messo solo per tappare il bianco!!!
Ora riprovo...grazie sei squisita!!

 



Web Design Bolzano Kreatif