1
richardb96
center blocks don't show on theme??
  • 2008/5/13 13:38

  • richardb96

  • Just popping in

  • Posts: 78

  • Since: 2008/4/29


Hi Guys,

can anyone tell me how to get the center blocks to show up as I need to put recnt blogs, news etc below the main page content but currently if I check the bottom boxes, l, r or center the item doesn't show. I shows if i check the top boxes.

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" id="centerCcolumn">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr>

<td valign="top" id="centerLcolumn">
<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}> <{include
file="imago06c/theme_blockcenter_l.html"}> <{/foreach}>
<!-- End center-left blocks loop -->
</td>
<td valign="top" id="centerRcolumn">
<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}> <{include
file="imago06c/theme_blockcenter_r.html"}> <{/foreach}>
<!-- End center-right blocks loop -->
</td>
</tr>
<tr valign="top">
<td colspan="2" id="centerCcolumn">
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}> <{include
file="imago06c/theme_blockcenter_c.html"}> <{/foreach}>
<!-- End center-center blocks loop -->
</td>
</tr>
</table>
<{/if}>
<!-- End display center blocks -->
<div id="content">
<{$xoops_contents}></div> </td>
<{if $xoops_showrblock == 1}><td valign="top" id="rightcolumn"><!-- Start right blocks loop -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><{foreach item=block from=$xoops_rblocks}> <{include
file="imago06c/theme_blockright.html"}> <{/foreach}> </td>
</tr>
</table>
<!-- End right blocks loop -->
</td><{/if}>
</tr>
</table>

I think that the bottom boxes section is missing but have tried numerous configs but can't sort it.

Thanks in advance.

Richard

2
richardb96
Re: center blocks don't show on theme??
  • 2008/5/13 13:57

  • richardb96

  • Just popping in

  • Posts: 78

  • Since: 2008/4/29


Sorted....

I moved <div id="content"> <{$xoops_contents}></div>up to the following & it moved it on the page.

<td valign="top" id="centerCcolumn">
<!-- Display center blocks if any -->
<div id="content"> <{$xoops_contents}></div>
<{if $xoops_showcblock == 1}>
<table cellspacing="0">

3
Anonymous
Re: center blocks don't show on theme??
  • 2008/5/13 14:01

  • Anonymous

  • Posts: 0

  • Since:


Sounds like you're using an old (pre-2.0.14 vintage) theme.

Best thing to do is compare the code in your theme's theme.html file with the theme.html file from the XOOPS default theme.

Simple copy/paste in the code from the default theme into your theme.html

As a matter of interest, which theme are you using?

HTH

4
richardb96
Re: center blocks don't show on theme??
  • 2008/5/13 15:12

  • richardb96

  • Just popping in

  • Posts: 78

  • Since: 2008/4/29


Hi John,

I usedhttps://xoops.org/modules/library/singlefile.php?cid=1&lid=90

just to get a basic layout then i've chopped it about a bit.

I have struggled with a few modules especially plain content ones..... all part of the learning process tho. Still can't get the index page content in there tho...

https://xoops.org/modules/newbb/viewtopic.php?topic_id=64040&forum=27

Login

Who's Online

175 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 175


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