1
I'm having trouble figuring out how to keep my center-center block above my news. I realize the news is content so it depends on where the content div goes in the theme.html. However, I'm running into a problem. When I place my content <div></div> block below the center/center and above center/left, the content does not appear below the center center block, it's still above the center block! If I put the <div></div> content within the <td></td> of the center/center block, it works, but when I go to certain modules, such as "Contact Us" or any other module I made, (I think it has to do with any module that uses template), no content is shown. Instead of the content, the left and right columns stretch out to fill the space where the center columns should be. This is really annoying, can anyone help? This is my theme.html (relevant html) - here I tried putting the <div> below center-center and above center-left, but the center block still doesn't show up above the content:
<td id="centercolumn">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{include file="default/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->
</td>
</tr>
<div id="content">
<{$xoops_contents}>
</div>
<tr>
<td id="centerLcolumn">
<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<{include file="default/theme_blockcenter_l.html"}>
<{/foreach}>
<!-- End center-left blocks loop -->
</td><td id="centerRcolumn">
<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<{include file="default/theme_blockcenter_r.html"}>
<{/foreach}>
<!-- End center-right blocks loop -->
</td>
</tr>
</table>
<{/if}>
<!-- End display center blocks -->
</td>