Fork me on GitHub

Rapport de message :*
 

Re: Modification sur le thème xt_plus de katisuhara

Titre du sujet : Re: Modification sur le thème xt_plus de katisuhara
par eparcyl92 sur 28/02/2009 03:50:10

Bonjour,
Je viens de m'apercevoir (trois mois après) qu'il manquait aux blocks centre-centre-bas, centre-droite-bas et centre-gauche-bas les couleurs (images) ...

Forte heureusement, eparcyl est là et vous n'avez pas à stresser davantage

Après une journée de bricolage, je viens de trouver (3 heures 30 du matin) la solution

Et cela fonctionne parfaitement

dans le fichier theme.html, vous remplacez
<!-- End display center blocks -->
        <
div id="content">
          <{
$xoops_contents}>
        </
div>
        <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
        <
table cellspacing="0">
        <{if 
$xoBlocks.page_bottomcenter}>
        <
tr><td id="bottomCcolumn" colspan="2">
            <{foreach 
from=$xoBlocks.page_bottomcenter item=block}><{include file="default/theme_blockcenter_c.html"}><{/foreach}>
            </
td>
        </
tr>
        <{/if}>
        <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
        <
tr>
            <
td id="bottomLcolumn">
                <{foreach 
from=$xoBlocks.page_bottomleft item=block}><{include file="default/theme_blockcenter_l.html"}><{/foreach}>
            </
td>
            <
td id="bottomRcolumn">
                <{foreach 
from=$xoBlocks.page_bottomright item=block}><{include file="default/theme_blockcenter_r.html"}><{/foreach}>
            </
td>
        </
tr>
        <{/if}>
        </
table>
        <{/if}>


Par
<!-- DEBUT DE CREATION BLOCKS DU BAS NULLOS-->
        <
div id="content"> <{$xoops_contents}> </div>
        <
table cellspacing="0">
        <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
            <
tr
              <
td id="bottomCcolumn" colspan="2"
                <{foreach 
item=block from=$xoBlocks.page_bottomcenter}> <table align="center" cellpadding="0" cellspacing="2">
                  <
tr
                    <
td> <div class="blockTitle"><{$block.title}></div>
                      <
div class="blockContent"><{$block.content}></div></td>
                  </
tr>
                </
table>
                <{/foreach}> 
                
              </
td>
            </
tr>
            <
tr
              <
td id="bottomLcolumn"
                <{foreach 
item=block from=$xoBlocks.page_bottomleft}> <table class="blok" align="center" cellpadding="3" cellspacing="2">
                  <
tr
                    <
td> <div class="blockTitle"><{$block.title}></div>
                      <
div class="blockContent"><{$block.content}></div></td>
                  </
tr>
                </
table>
                <{/foreach}> 
              </
td>
              <
td id="bottomRcolumn"
                <{foreach 
item=block from=$xoBlocks.page_bottomright}> <table class="blok" align="center" cellpadding="3" cellspacing="2">
                  <
tr
                    <
td> <div class="blockTitle"><{$block.title}></div>
                      <
div class="blockContent"><{$block.content}></div></td>
                  </
tr>
                </
table>
                <{/foreach}> 
              </
td>
            </
tr>
          </
table>
          <{/if}> <!-- 
FIN DE CREATION BLOCKS DU BAS NULLOS-->


Et vous ajoutez , dans le fichier style.css, vers la ligne 288
td#bottomCcolumn div.blockTitle
{
    
padding13px 0px 0px 40px;
        
color#ffffff;
    
margin-bottom0px;
        
height39px;
        
font-weightbold;
    
background-imageurl(images/meio.gif);
    
background-repeatno-repeat;
    
background-positionleft top;
    
border-bottom-width0px;
    
border-bottom-stylesolid;
    
border-bottom-color#2072CC;
    
font-variantsmall-caps;
}
td#bottomCcolumn div.blockContent
{
    
margin-right0px;
    
margin-left0px;
    
margin-bottom8px;
    
line-height120%;
    
border-bottom1px dashed #cccccc;
}
td#bottomLcolumn
{
    
width60%;
    
padding0px 0px 0px 0px;
    
border-right1px solid #cccccc;
}
td#bottomLcolumn div.blockTitle
{
    
padding13px 0px 0px 40px;
        
color#ffffff;
    
margin-bottom0px;
        
height39px;
        
font-weightbold;
    
background-imageurl(images/meio_r.gif);
    
background-repeatno-repeat;
    
background-positionleft top;
    
border-bottom-width0px;
    
border-bottom-stylesolid;
    
border-bottom-color#2072CC;
    
font-variantsmall-caps;
}
td#bottomLcolumn div.blockContent
{
    
margin-right0px;
    
margin-left0px;
    
line-height120%;
    
padding2px;
}
td#bottomRcolumn
{
    
width40%;
    
padding0px 0px 0px 0px;
}
td#bottomRcolumn div.blockTitle
{
    
padding13px 0px 0px 40px;
        
color#ffffff;
    
margin-bottom0px;
        
height39px;
        
font-weightbold;
    
background-imageurl(images/meio_l.gif);
    
background-repeatno-repeat;
    
background-positionleft top;
    
border-bottom-width0px;
    
border-bottom-stylesolid;
    
border-bottom-color#2072CC;
    
font-variantsmall-caps;
}
td#bottomRcolumn div.blockContent
{
    
margin-right0px;
    
margin-left0px;
    
margin-bottom2px;
    
line-height120%;
    
padding2px;
}


Si vous aussi, vous avez des petits plus pour arranger ce thème, les Nullos sont prenneur

Bon je remet à jour le téléchargement du thème, vous pourrez le télécharger à 5 heures 45 minutes et 11 secondes

Bon samedi
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

90 Personne(s) en ligne (67 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 90 | Plus ...