1
kerkyra
2 center top columns blocks and 3 bottom center
  • 2007/9/27 12:08

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


hi i'm using the ramadan theme (in http://www.mykerkyra.gr)

what i want is to have in the theme.html file

2 blocks above the center column (center top left - center top right)

then the center center block

contents

and bellow all to have 3 blocks bottom center left - bottom center center - bottom center right.

right now the code of that table is like the one bellow, and the top left and right blocks appear in the bottom.

anybody know what i need to change ?

Quote:

<{if $xoops_showcblock == 1}>









<{foreach item=block from=$xoops_ccblocks}>
<{include file="$xoops_theme/theme_blockcenter_c.html"}>
<{/foreach}>


<{foreach item=block from=$xoops_clblocks}> <{include file="$xoops_theme/theme_blockcenter_l.html"}> <{/foreach}>


<{foreach item=block from=$xoops_crblocks}> <{include file="$xoops_theme/theme_blockcenter_r.html"}> <{/foreach}>


<{/if}>


<{$xoops_contents}>

<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>

<{if $xoBlocks.page_bottomcenter}>



<{/if}>
<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>




<{/if}>
<{foreach from=$xoBlocks.page_bottomcenter item=block}>
<{include file="$xoops_theme/theme_blockcenter_c.html"}>
<{/foreach}>
<{foreach from=$xoBlocks.page_bottomleft item=block}>
<{include file="$xoops_theme/theme_blockcenter_l.html"}>
<{/foreach}>
<{foreach from=$xoBlocks.page_bottomright item=block}>
<{include file="$xoops_theme/theme_blockcenter_r.html"}>
<{/foreach}>

whttp://www.guidemap.gr - Beta is out...

2
Will_H
Re: 2 center top columns blocks and 3 bottom center
  • 2007/9/27 12:18

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Try this.

<td colspan="3" id="centercolumn">
<{if 
$xoops_showcblock == 1}>
<
table cellspacing="0" class="centercol">
<
tr>
<
td id="centerLcolumn">
<{foreach 
item=block from=$xoops_clblocks}> <{include file="$xoops_theme/theme_blockcenter_l.html"}> <{/foreach}>

td>
<
td id="centerRcolumn" style="border-right: 1px solid #c6c6c6;">
<{foreach 
item=block from=$xoops_crblocks}> <{include file="$xoops_theme/theme_blockcenter_r.html"}> <{/foreach}>

td>
tr>
<
tr>
<
td id="centerCcolumn" colspan="2">
<{foreach 
item=block from=$xoops_ccblocks}>
<{include 
file="$xoops_theme/theme_blockcenter_c.html"}>
<{/foreach}>

td>
tr>
table>
<{/if}>



<{$xoops_contents}>


<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or  $xoBlocks.page_bottomcenter}>
<
table cellspacing="0" class="centercolb">
<
tr>
<
td id="bottomLcolumn"><{foreach from=$xoBlocks.page_bottomleft item=block}>
<{include 
file="$xoops_theme/theme_blockcenter_l.html"}>
<{/foreach}>
td>
<
td id="bottomCcolumn"><{foreach from=$xoBlocks.page_bottomcenter item=block}>
<{include 
file="$xoops_theme/theme_blockcenter_c.html"}>
<{/foreach}>
td>
<
td id="bottomRcolumn" style="border-right: 1px solid #c6c6c6;"><{foreach from=$xoBlocks.page_bottomright item=block}>
<{include 
file="$xoops_theme/theme_blockcenter_r.html"}>
<{/foreach}>
td>
tr>
<{/if}>
table>


HTH

3
kerkyra
Re: 2 center top columns blocks and 3 bottom center
  • 2007/9/27 15:53

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


that did it! I played a lil bit with the code to get exactly what i wanted! Thanks very much for the help! You are the man
whttp://www.guidemap.gr - Beta is out...

Login

Who's Online

289 user(s) are online (184 user(s) are browsing Support Forums)


Members: 0


Guests: 289


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits