1
jmarch
Can't Get Bottom Blocks to Appear
  • 2007/11/22 18:35

  • jmarch

  • Just popping in

  • Posts: 1

  • Since: 2007/10/31


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">&nbsp;<{$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">&nbsp;<{$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">&nbsp;<{$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">&nbsp;<{$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">&nbsp;<{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}></td></tr>
</table>
</td></tr>
</table>
<br />
<{/foreach}>
<!-- End right blocks loop -->

2
skenow
Re: Can't Get Bottom Blocks to Appear
  • 2007/11/22 23:28

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Your theme does not include the section for the bottom blocks - review this:http://www.xoopswiki.org/wiki/index.php?title=Anatomy_of_the_default_theme - and it should help you on your way

Login

Who's Online

149 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 149


more...

Donat-O-Meter

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

Latest GitHub Commits