Back to top

Autore Topic: [RISOLTO]Imprecisioni nel template Redevo Beep  (Letto 4696 volte)

Offline Vulpiani

  • Appassionato
  • ***
  • Post: 360
  • Sesso: Maschio
  • Il mio messaggio è troppo lungo!
    • Mostra profilo
[RISOLTO]Imprecisioni nel template Redevo Beep
« il: 02 Gen 2009, 19:58:33 »
Salve, ancora un altro problemino che sembra di difficile risolzione.

Sto usando il template Redevo Beep al posto di Rhuk_Milkway, tutto bene, ho creato la seconda colonna destra chiamandola rigthwo senza alcun problema, l'unica cosa che non va adesso è il Modulo Video che all'indirizzo http://www.programmatorijava.com/?tp=1 è al posto giusto, cioè appena sotto le due colonne, mentre all'indirizzo http://www.programmatorijava.com/ viene tutto spostato a destra.
Come posso risolvere questo fattaccione?

ecco l'index.php

Codice: [Seleziona]
<?php
// no direct access
defined'_JEXEC' ) or die( 'Restricted access' );
?>

<!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" xml:lang="<?php echo $this->language?>" lang="<?php echo $this->language?>" >

<head>
<jdoc:include type="head" /> <!--head set in the global configuration-->
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/menu.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/<?php echo $this->params->get("colorVariation""blue"); ?>.css" type="text/css" />
<script type="text/javascript"><!--//--><![CDATA[//><!--

sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//--><!]]></script>
<!--[if IE 6]>
<style type="text/css">
#nav li{height:1em; vertical-align: bottom;}
</style>
<![endif]-->

<?php if(!$this->countModules('user1')||!$this->countModules("user2")){ $topwidth="wide"; }?>
<?php if(!$this->countModules("user1")&&!$this->countModules("user2")){ $topwidth="wider"; }?>

<?php if(!$this->countModules("left")){ $middlewidth="wider"; }?>
<?php if(!$this->countModules("left")&&$this->countModules("right")){ $middlewidth="rightonly"; }?>
<?php if(!$this->countModules("right")){ $middlewidth="leftonly"$leftwidth="leftonly"; }?>
<?php if(!$this->countModules("right")&&!$this->countModules("left")){ $middlewidth="widest"; }?>
<?php if(!$this->countModules("rightwo")){ $middlewidth="leftonly"$leftwidth="leftonly"; }?>
<?php if(!$this->countModules("rightwo")&&!$this->countModules("left")){ $middlewidth="widest"; }?>

<?php if(!$this->countModules("user5")+!$this->countModules("user6")+!$this->countModules("user7")==1){$bottomwidth="wide"; }?>
<?php if(!$this->countModules("user5")+!$this->countModules("user6")+!$this->countModules("user7")==2){$bottomwidth="wider";}?>

</head>

<body>
<div align="center"><div id="wrapper">
<div id="topwrap">
    <div id="logo"><jdoc:include type="modules" name="logo" style="xhtml" /></div>
        <div id="topright">
        <?php if($this->countModules("user3")): ?>
        <div id="user3"><jdoc:include type="modules" name="user3" style="xhtml" /></div>
            <?php endif; ?>
            <?php if($this->countModules("user4")): ?>
            <div id="user4"><jdoc:include type="modules" name="user4" style="xhtml" /></div>
            <?php endif; ?>
        </div><!--topright-->
    <div class="clear"></div>
    </div><!--topwrap-->
    <?php if($this->countModules("menu")): ?>
    <div id="nav"><jdoc:include type="modules" name="menu" style="xhtml" /></div><!--nav-->
    <?php endif; ?>
    <?php if($this->countModules("header")+$this->countModules("user1")+$this->countModules("user2")): ?>
    <div id="headerwrap<?php echo $topwidth;?>" class="headerwrap"><div class="bgbottom">
    <div id="header<?php echo $topwidth;?>"><jdoc:include type="modules" name="header" style="xhtml" /></div>
        <?php if($this->countModules("user2")): ?>
        <div id="user2"><jdoc:include type="modules" name="user2" style="xhtml" /></div>
        <?php endif; ?>
        <?php if($this->countModules("user1")): ?>
        <div id="user1"><jdoc:include type="modules" name="user1" style="xhtml" /></div>
        <?php endif; ?>
    <div class="clear"></div>
    </div></div><!--headerwrap-->
    <?php endif; ?>
    <div id="container">
    <div id="leftwrap<?php echo $leftwidth;?>" class="leftwrap">
        <?php if($this->countModules("left")): ?>
            <div id="left"><div class="padding"><jdoc:include type="modules" name="left" style="xhtml" /></div></div>
            <?php endif; ?>
            <div id="middle<?php echo $middlewidth;?>" class="middle"><div class="bg"><div class="bg">
                <div id="pathway"><?php echo JText::_"Sei nella Pagina:" ); ?><jdoc:include type="module" name="breadcrumbs" /></div>
                <div id="message"><jdoc:include type="message" /></div>
                <div id="mainbody"><jdoc:include type="component" style="xhtml" /></div>
            </div></div></div><!--middle-->
        </div><!--leftwrap-->
        <?php if($this->countModules("right")): ?>
        <div id="right"><div class="padding"><jdoc:include type="modules" name="right" style="xhtml" /></div></div>
        <?php endif; ?>
        <?php if($this->countModules("rightwo")): ?>
        <td style="text-align:right">
        <div id="rightwo"><div class="padding"><jdoc:include type="modules" name="rightwo" style="xhtml" /></div></div>
        <?php endif; ?>
        </td>
      <div class="clear"></div>
    </div><!--container-->
    <?php if($this->countModules("user5")+$this->countModules("user6")+$this->countModules("user7")): ?>
    <div id="bottomwrap">
    <?php if($this->countModules("user5")): ?>
    <div id="user5" class="bottom<?php echo $bottomwidth;?>"><div class="padding"><jdoc:include type="modules" name="user5" style="xhtml" /></div></div>
        <?php endif; ?>
        <?php if($this->countModules("user6")): ?>
        <div id="user6" class="bottom<?php echo $bottomwidth;?>"><div class="padding"><jdoc:include type="modules" name="user6" style="xhtml" /></div></div>
        <?php endif; ?>
        <?php if($this->countModules("user7")): ?>
        <div id="user7" class="bottom<?php echo $bottomwidth;?>"><div class="padding"><jdoc:include type="modules" name="user7" style="xhtml" /></div></div>
        <?php endif; ?>
      <div class="clear"></div>
    </div><!--bottomwrap-->
    <?php endif; ?>
    <div id="footerwrap">
    <?php if($this->countModules("footer")): ?>
    <div id="footer"><jdoc:include type="modules" name="footer" style="xhtml" /></div>
        <?php endif; ?>
        <div id="info">Joomla! Template by <a href="http://www.vulpiani.com" title="Vulpiani Website">Vulpiani Website</a> - <a href="http://www.vulpiani.com/" title="Joomla Web Design">Joomla Web Design</a></div>
      <div class="clear"></div>
    </div><!--footerwrap-->
</div></div><!--center-->
</body>
</html>

e poi il solito template.css

Codice: [Seleziona]
/* CSS Document */

/*-----Global Reset-----*/

html, body, h1, h2, h3, h4, h5, h6, p, blockquote, form, label, ul, ol, dl, fieldset, address{margin:0; padding:0;}

h1, h2, h3, h4, h5, h6, p, blockquote, form, label, ul, ol, dl, fieldset, address, .contentheading, .componentheading{
margin:0.5em 0;}

li, dd{margin-left:1em;}

fieldset{padding:0.5em;}

img {
border: none;
}

.clear {
clear: both;
}


/*-----BACKGROUND COLOR/FONT SIZE AND COLOR-----*/
body {
font-size:11px; /* more consistent font sizes */
font-family: Arial, Helvetica, sans-serif;
line-height:16px; /*helps readability*/
}

/*-----ALL NON PARAGRAPH TEXT COLORS-----*/

td, p {
font-size:11px;
}



/*-----HEADINGS-----*/
h1, .componentheading{ font-size:18px; font-weight:bold; line-height:21px;}
h2, .contentheading{font-size:16px; font-weight:bold; line-height:20px;}
h3{font-size:11px; font-weight:bold; text-transform:uppercase;}
h4{font-size:11px; font-weight:bold;}
h5{font-size:10px; font-weight:bold;}


/*-----LINK TEXT COLORS-----*/
a {
text-decoration:none;
font-weight:bold;
}

a:hover{
text-decoration:underline;
}
a:focus, a:active{
outline:none;
}
/*-----Lists-----*/
ul{
list-style:none;
}
ol{
margin-left:25px;
}
ul li{
padding:3px 0 3px 12px;
margin:0;
}
/* tables */
table.contentpaneopen, table.contentpane{border-collapse:collapse;}
table.contentpaneopen td {
   padding-right: 5px;
}

table.contentpaneopen td.componentheading {
padding-left: 4px;
}
table.contentpane td {
margin: 0px;
padding: 0px;
}

table.contentpane td.componentheading {
padding-left: 4px;
}

table.contentpaneopen fieldset {
border: 0px;
border-bottom: 1px solid #eee;
}

td.article_column{
padding-right:10px;}

table.pollstableborder{
float:left;
}


/*-----BLOCKQUOTE STYLE-----*/

blockquote {
 
}



/* Left/Right Main Menu */

#left ul.menu li, #left ul#mainlevel li{
padding:0 0 0 8px;
margin:0 0 4px 0;
}

#left ul.menu a, #left ul#mainlevel a{
font-weight:normal;
color:#000;
}



/* LATEST NEWS/POPULAR MODULE LINK STYLES */

a.latestnews{

}

a.latestnews:hover{

}

a.mostread{

}

a.mostread:hover{

}

/* SECTION TABLE HEADER STYLE */

td.sectiontableheader {
 
}

/* ALTERNATING SECTION TABLE ROW 1 BACKGROUND/TEXT STYLES */

tr.sectiontableentry1 td {
 
}

/* ALTERNATING SECTION TABLE ROW 2 BACKGROUND/TEXT STYLES */

tr.sectiontableentry2 td {
 
}

/* SECTION TABLE LINK STYLES */

.sectiontableentry2 a, .sectiontableentry1 a, .sectiontableentry2 a.category, .sectiontableentry1 a.category {
 
}
.sectiontableentry2 a:hover, .sectiontableentry1 a:hover, .sectiontableentry2 a.category:hover, .sectiontableentry1 a.category:hover {

}

/*layout*/


#wrapper{width:1210px; text-align:left; }

#topwrap{padding:10px 0;}

#logo{float:left; width:40%;}
#topright{float:right; width:59%;}

#user3 ul{ text-align:right; margin:0; padding:0;}
#user3 li{display:inline; margin:0; padding:0; background:none;}
#user3 a{color:#323232; font-weight:normal; padding:0px 10px; border-right:#666 1px solid;}

#user4{padding:5px 0;}
div.search{float:right;}

#nav{height:27px; width:100%; position:relative; background:url(../images/navbg.gif) top left repeat-x;}

#headerwrap, #headerwrapwide, #headerwrapwider{clear:both;}
#headerwrap .bgbottom, #headerwrapwide .bgbottom, #headerwrapwider .bgbottom{
background:url(../images/header-b.png) bottom right no-repeat;
padding-bottom:8px;
}

#headerwrap{background:url(../images/headerbg-both.png) top right repeat-y;}
#headerwrapwide{background:url(../images/headerbg-single.png) top right repeat-y;}
#headerwrapwider{background:none;}

#header, #headerwide, #headerwider{float:left;}

#header{width:215px;}
#headerwide{width:400px;}
#headerwider{width:100%;}

#headerwrap .moduletable, #headerwrapwide .moduletable, #headerwrapwider .moduletable{
padding:5px;
}

.headerwrap .moduletable h3{
margin:-5px -5px 5px -5px;
padding:8px 5px 8px 30px;
}

#user1{float:right;}
#user2{float:right;}
#user2 h3{color:#fff;}

#user1 ul, #user2 ul{
padding:0 10px;}

#user1 ul li{
background:url(../images/arrow-grey.png) 2px 7px no-repeat;
padding:3px 0 3px 12px;
margin:0;
border-bottom:#c3c3c3 1px solid;
}

#user2 ul li{
padding:3px 0 3px 12px;
margin:0;
border-bottom:#c3c3c3 1px solid;
}

#user1 ul a, #user2 ul a{
color:#000;
font-weight:normal;
}

#user1, #user2{
width:187px;
}



#user1 .moduletable h3{
background:url(../images/h3bg-grey.png) top right no-repeat;
}

#left, .middle, #right, #footer, #info{overflow:hidden;}

.leftwrap{
padding:10px 0;
float:left;
}


#left{
float:left;
width:184px;
}
#left .padding{
padding:0px 13px 0 0;
}
#left .moduletable, #left .moduletable_menu{
border-right:#cac9c9 1px solid;
border-bottom:#cac9c9 1px solid;
margin-bottom:10px;
padding:5px;
}
#left h3{
margin:-5px -5px 5px -5px;
}
.moduletable form{
width:auto!important;
width:160px; /*Login form width for IE 6 */
}
.middle{float:left;}
.middle .bg .bg{padding:5px;}

#middle{width:608px;
background:url(../images/mid-rounded-m.png) top left repeat-y;}
#middle .bg{background:url(../images/mid-rounded-t.png) top left no-repeat;}
#middle .bg .bg{background:url(../images/mid-rounded-b.png) bottom left no-repeat;}


#middlewider{width:100%;}


#middlerightonly{width:795px; background:url(../images/mid-rounded-m-795.png) top left repeat-y;}
#middlerightonly .bg{background:url(../images/mid-rounded-t-795.png) top left no-repeat;}
#middlerightonly .bg .bg{background:url(../images/mid-rounded-b-795.png) bottom left no-repeat;}


#leftwrap{width:792px;}
#leftwrapleftonly{width:100%;}
#middleleftonly{float:right; width:795px; background:url(../images/mid-rounded-m-795.png) top left repeat-y;}
#middleleftonly .bg{background:url(../images/mid-rounded-t-795.png) top left no-repeat;}
#middleleftonly .bg .bg{background:url(../images/mid-rounded-b-795.png) bottom left no-repeat;}

#middlewidest{width:100%; background:url(../images/mid-rounded-m-990.png) top left repeat-y;}
#middlewidest .bg{background:url(../images/mid-rounded-t-990.png) top left no-repeat;}
#middlewidest .bg .bg{background:url(../images/mid-rounded-b-990.png) bottom left no-repeat;}


#pathway{
font-weight:normal;
color:#333;}

#pathway span.pathway{
font-weight:bold;
color:#000;}

#mainbody{
padding:10px;
}

#right{
float:right;
background:url(../images/rightbg.png) bottom left no-repeat;
width:187px;
}

#right .padding{
padding-left:2px;
}

#right .moduletable, #right .moduletable_text{
padding:5px;
margin-bottom:10px;
}

#right h3{
margin:-5px -5px 5px -5px;
padding-left:5px;
border-top:#dcdada 1px solid;
border-bottom:#cac9c9 1px solid;
background:url(../images/h3bg-gradient.jpg) top left repeat-x;
}

#rightwo{
float:right;
background:url(../images/rightbg.png) bottom left no-repeat;
width:187px;
}

#rightwo .padding{
padding-left:2px;
}

#rightwo .moduletable, #right .moduletable_text{
padding:5px;
margin-bottom:10px;
}

#rightwo h3{
margin:-5px -5px 5px -5px;
padding-left:5px;
border-top:#dcdada 1px solid;
border-bottom:#cac9c9 1px solid;
background:url(../images/h3bg-gradient.jpg) top left repeat-x;
}

#user5, #user6, #user7{
float:left;
}
.bottom{width:33.3%;}
.bottomwide{width:49.9%;}
.bottomwider{width:100%;}

#bottomwrap .padding{
padding:0 4px;}

#bottomwrap h3{
margin:-5px -5px 5px -5px;
padding:2px 5px;
background-color:#f4f4f4;
border-bottom:#dcdcdc 1px solid;
}

#bottomwrap .moduletable{
border:#dcdcdc 1px solid;
padding:5px;
}

#footerwrap{
padding:5px 0;
margin-top:10px;
border-top:#d4d4d4 8px solid;
color:#808080;}

#footerwrap a{
color:#808080;
font-weight:normal;
}

#footer{
float:left;
width:49%;
}

#info{
float:right;
width:49%;
text-align:right;
}

Resterebbe poi da eliminare il modulo "header" per far spostare su le news, cosa che invece non accade quando lo elimino dall'index.php, rimane uno spazio bianco molto grande e scompare la seconda colonna destra.
Bisognerebbe creare un tool per modificare questi template :D

Francesco
« Ultima modifica: 03 Gen 2009, 13:37:51 da Vulpiani »
Quando tutto salta
Bisogna fermarlo
con una morsa (mia)

Offline Vulpiani

  • Appassionato
  • ***
  • Post: 360
  • Sesso: Maschio
  • Il mio messaggio è troppo lungo!
    • Mostra profilo
Re: Imprecisioni nel template Redevo Beep
« Risposta #1 il: 02 Gen 2009, 23:25:16 »
Ok, ho risolto il problema del video!
Ora la domanda rimane, come eliminare l'header visibile in http://www.programmatorijava.com/?tp=1 e far andare più su le news e il menù! Come potrei fare?
Quando tutto salta
Bisogna fermarlo
con una morsa (mia)

Offline Vulpiani

  • Appassionato
  • ***
  • Post: 360
  • Sesso: Maschio
  • Il mio messaggio è troppo lungo!
    • Mostra profilo
Re: Imprecisioni nel template Redevo Beep
« Risposta #2 il: 03 Gen 2009, 12:42:18 »
Mah...appena elimino l'header mi scompare la seconda colonna destra...e le news e il menù comunque non si spostano più in alto...come potrei colmare queste piccole lacune che mi dividono di un passo dal completamente di questo sito? :((( Tonicopi aiutaci tu!!!
Quando tutto salta
Bisogna fermarlo
con una morsa (mia)

Offline Vulpiani

  • Appassionato
  • ***
  • Post: 360
  • Sesso: Maschio
  • Il mio messaggio è troppo lungo!
    • Mostra profilo
Re: Imprecisioni nel template Redevo Beep
« Risposta #3 il: 03 Gen 2009, 13:37:26 »
Ho risolto spostando il Bredcumb!!!! niente di più facile!!! 8) 8)

Grazie lo stesso   :o
Quando tutto salta
Bisogna fermarlo
con una morsa (mia)

Offline alexred

  • Fuori controllo
  • *
  • Post: 25672
  • Sesso: Maschio
  • Esperto in ozio relaxed
    • Mostra profilo
Re: [RISOLTO]Imprecisioni nel template Redevo Beep
« Risposta #4 il: 03 Gen 2009, 13:39:03 »
Ottimo!

Offline Vulpiani

  • Appassionato
  • ***
  • Post: 360
  • Sesso: Maschio
  • Il mio messaggio è troppo lungo!
    • Mostra profilo
Re: [RISOLTO]Imprecisioni nel template Redevo Beep
« Risposta #5 il: 03 Gen 2009, 13:40:24 »
Questa è per la serie "Faccio tutto da solo"  8)
Quando tutto salta
Bisogna fermarlo
con una morsa (mia)

 



Web Design Bolzano Kreatif