Joomla.it Forum

Joomla! 1.0.x (versione con supporto terminato) => Le voci di Joomla.it (solo per versione Joomla 1.0.x) => I Template di Joomla 1.0.x => : Hemnet 11 Apr 2008, 13:01:56

: Non riesco a eliminare 1 elemento del template
: Hemnet 11 Apr 2008, 13:01:56
Salve gente, premetto che nn me la cavo per nulla bene con html  ;D e allora mi son detto, perchè nn chiedere aiuto?

Ebbene vi espongo il mio problema, sto lavorando con il template go_vista, sul mio sito www.peguy.biz (http://www.peguy.biz) il fatto è che di base il template nell'header ha uno spazio per un scritta in flash (che viene in automatico al cambiare del nome del sito), ecco al posto di quel "coso" fatto in flash io vorrei un unica immagine statica (che smanettando può essere anche un banner) fissata da me, che inquadri tutta l'intestazione in alto del sito, il problema è che nn so come "dire" questo in html per modificare il template, grazie a tutti per l'aiuto.

<?php
   if($my->id){
       if($_REQUEST["task"] == "edit" || $_REQUEST["task"] == "new") {
           include ("editor/editor.php");
           initEditor();
       }
   }
   ?>
<table height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr class="noprint">
    <td width="15" height="20">&nbsp;</td>
    <td width="1100" height="20">&nbsp;&nbsp;</td>
    <td width="15" height="20">&nbsp;&nbsp;</td>
  </tr>
  <tr class="noprint">
    <td width="15" height="30" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/topleftcornerdropshadow.jpg">&nbsp;</td>
    <td width="1100" height="30" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/topdropshadow.jpg">&nbsp;</td>
    <td width="15" height="30" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/toprightcornerdropshadow.jpg">&nbsp;</td>
  </tr>
  <tr class="noprint">
    <td width="15" height="87" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/topleftdropshadow.jpg">&nbsp;</td>
    <td width="1100" height="87" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/topblackgardient.jpg">
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
         <tr>
            <td <?php if ( mosCountModules( 'banner' ) ) { echo 'width="380"'; } ?>>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" <?php if ( mosCountModules( 'banner' ) ) { echo 'width="380"'; } else { echo 'width="1100"'; } ?>  height="87">
         <param name="movie" value="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/<?php if ( mosCountModules( 'banner' ) ) { echo 'spiegelung'; } else { echo 'spiegelunglarge'; } ?>.swf?pagename=<?php echo $mosConfig_sitename; ?>&mainsite=<?php echo $mosConfig_live_site;?>">
         <param name="quality" value="high">
       <param name="bgcolor" value="#000000" />
         <embed src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/<?php if ( mosCountModules( 'banner' ) ) { echo 'spiegelung'; } else { echo 'spiegelunglarge'; } ?>.swf?pagename=<?php echo $mosConfig_sitename; ?>&mainsite=<?php echo $mosConfig_live_site;?>" bgcolor="#000000" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" <?php if ( mosCountModules( 'banner' ) ) { echo 'width="380"'; } else { echo 'width="1100"'; } ?> height="87"></embed>
     </object>
         </td>
         <?php if ( mosCountModules( 'banner' ) ) { ?>
          <td valign="middle" align="center"><?php mosLoadModules ( 'banner', -2 ); ?>
         </td>
         <?php } ?>
      </tr>
    </table>
   </td>
    <td width="15" height="87" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/toprightdropshadow.jpg">&nbsp;</td>
  </tr>
  <tr class="vistauser3">
    <td width="15" height="33" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/bluegardientdropshadowleft.jpg">&nbsp;</td>
    <td width="1100" height="33" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/bluegardientbg.jpg"><?php mosLoadModules ( 'user3', -1 );?></td>
    <td width="15" height="33" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/bluegardientdropshadowright.jpg">&nbsp;</td>
  </tr>
  <tr class="noprint">
    <td width="15" height="20" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/leftdropshadow.jpg">&nbsp;</td>
    <td width="1100" height="20"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="230" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/bluegardientdropshadowlowerleft.jpg">&nbsp;</td>
        <td background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/bluegardientdropshadowmiddl.jpg">&nbsp;</td>
        <td width="230" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/bluegardientdropshadowlower.jpg">&nbsp;</td>
      </tr>
    </table></td>
    <td width="15" height="20" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/dropshadowright.jpg">&nbsp;</td>
  </tr>
  <tr>
    <td class="noprint" width="15" height="100%" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/leftdropshadow.jpg">&nbsp;</td>
    <td class="print" width="1100" height="100%" align="left" valign="top" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/mainbodybg.png" bgcolor="#e9f0f8">
: Re: Non riesco a eliminare 1 elemento del template
: fatechand 12 Apr 2008, 12:55:51
ciao,
questo dovrebbe essere il flash,
inserito nel modulo banner:
:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" <?php if ( mosCountModules'banner' ) ) { echo 'width="380"'; } else { echo 'width="1100"'; } ?>  height="87">
         <param name="movie" value="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/<?php if ( mosCountModules'banner' ) ) { echo 'spiegelung'; } else { echo 'spiegelunglarge'; } ?>.swf?pagename=<?php echo $mosConfig_sitename?>&mainsite=<?php echo $mosConfig_live_site;?>">
         <param name="quality" value="high">
       <param name="bgcolor" value="#000000" />
         <embed src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $GLOBALS[cur_template];?>/images/<?php if ( mosCountModules'banner' ) ) { echo 'spiegelung'; } else { echo 'spiegelunglarge'; } ?>.swf?pagename=<?php echo $mosConfig_sitename?>&mainsite=<?php echo $mosConfig_live_site;?>" bgcolor="#000000" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" <?php if ( mosCountModules'banner' ) ) { echo 'width="380"'; } else { echo 'width="1100"'; } ?> height="87"></embed>
     </object>
prova a toglierlo tutto intero,
e al suo posto metti l'immagine che vuoi,
o in html o col css
: Re: Non riesco a eliminare 1 elemento del template
: Hemnet 14 Apr 2008, 15:35:14
grazie provo subito