Fork me on GitHub

Rapport de message :*
 

Re: Problème bloc central

Titre du sujet : Re: Problème bloc central
par webneta sur 22/03/2007 08:28:30

Bon je remonte ce vieux topic, car je n'ai toujours pas réussis à trouver la facon de modifier le code pour afficher les blocs milieu bas...

Le code de mon theme, pour cette partie :

Citation :
<table border="0" cellpadding="0" cellspacing="0" style="width:1000px; ">
<tr><{if $xoops_showlblock == 1}>
<td id="leftcolumn"><{foreach item=block from=$xoops_lblocks}>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="left_top"></td>
</tr>
<tr>
<td class="left_back"><{if $block.title|regex_replace:"/.*nene/":"none" ne "none"}>
<div class="blockTitle"><{$block.title}></div>
<{/if}>
<div class="blockContent"><{$block.content}>
</div>
</td>
</tr>
<tr>
<td class="left_btm"></td>
</tr>
</table><br>

<{/foreach}>
</td>
<{/if}>
<td style="width:10px; "></td>
<td id="centercolumn">

<div id="content"><{$xoops_contents}><br>
</div>

<{if $xoops_showcblock == 1}>
<table border="0" cellpadding="5" cellspacing="5">
<tr>
<td id="centerCcolumn" colspan="2"><{foreach item=block from=$xoops_ccblocks}> <{if $block.title|regex_replace:"/.*nene/":"none" ne "none"}>
<div class="blockTitle"><font color="#FF6600"><{$block.title}></font></div>
<{/if}>
<div class="blockContent"><{$block.content}></div>
<br />
<{/foreach}> </td>
</tr>
<tr>
<td id="centerLcolumn"><{foreach item=block from=$xoops_clblocks}> <{if $block.title|regex_replace:"/.*nene/":"none" ne "none"}>
<div class="blockTitle"><font color="#FF6600"><{$block.title}></font></div>
<{/if}>
<div class="blockContent"><{$block.content}></div>
<{/foreach}> </td>
<td id="centerRcolumn"><{foreach item=block from=$xoops_crblocks}> <{if $block.title|regex_replace:"/.*nene/":"none" ne "none"}>
<div class="blockTitle"><font color="#FF6600"><{$block.title}></font></div>
<{/if}>
<div class="blockContent"><{$block.content}></div>
<{/foreach}> </td>
</tr>
</table>
<{/if}>

<!-- End display center blocks -->

<div align="center">
</div>
</td>

<td style="width:10px; "></td>
<{if $xoops_showrblock == 1}>
<td id="rightcolumn"><!-- Start right blocks loop -->

<{foreach item=block from=$xoops_rblocks}>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="right_top"></td>
</tr>
<tr>
<td class="right_back"><{if $block.title|regex_replace:"/.*nene/":"none" ne "none"}>
<div class="blockTitle"><{$block.title}></div>
<{/if}>
<div class="blockContent"><{$block.content}> </div></td>
</tr>
<tr>
<td class="right_btm"></td>
</tr>
</table>
<br>
<{/foreach}> <!-- End right blocks loop -->
</td>
<{/if}>
</tr>
</table>


Voilà c'est toute la partie affichage de block, de gauche à droite.

Pouvez-vous m'aider ?
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

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