1
I have tried to modify my theme to get the bottom blocks. My XOOPS blocks page shows a right center and left bottom block but there is no code in my theme for those blocks. I have searched endlessly and have tried some of the code I think others are using and yet I still cannot get this to work. The following is my code for my blocks. Could someone please help me figure out how to add some bottom (left, center, right) blocks under the current center (left, center, right) blocks.
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}> </p>
<table class="outline">
<tr><td>
<table cellspacing="0" cellpadding="2">
<tr><td class="blockTitle2"> <{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}> </td></tr>
</table>
</td></tr>
</table>
<br />
<{/foreach}>
<!-- End left blocks loop -->
</td>
<td style="padding: 0px 5px 0px;">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr><td width="100%" colspan="2">
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<table class="outline"><tr><td>
<table cellspacing="1" cellpadding="5">
<tr><td class="blockTitle"> <{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}></td></tr></table>
</td></tr></table><br />
<{/foreach}>
<!-- End center-center blocks loop -->
</td></tr>
<tr><td width="50%">
<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<table class="outline"><tr><td>
<table cellspacing="1" cellpadding="5">
<tr> <td class="blockTitle"> <{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}></td></tr></table>
</td></tr></table><br />
<{/foreach}>
<!-- End center-left blocks loop -->
</td><td width="50%">
<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<table class="outline"><tr><td>
<table cellspacing="1" cellpadding="5">
<tr> <td class="blockTitle"> <{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}></td></tr></table>
</td></tr></table><br />
<{/foreach}>
<!-- End center-right blocks loop -->
</td></tr></table>
<{/if}>
<!-- End display center blocks -->
<div id="content"><{$xoops_contents}></div>
</td>
<{if $xoops_showrblock == 1}>
<td width=20% align=center>
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<table class="outline">
<tr><td>
<table cellspacing="0" cellpadding="2">
<tr><td class="blockTitle2"> <{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}></td></tr>
</table>
</td></tr>
</table>
<br />
<{/foreach}>
<!-- End right blocks loop -->