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.




<{if $xoops_showrblock == 1}><{/if}>



<{if $xoops_showcblock == 1}>











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



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



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


<{/if}>


<{$xoops_contents}>





<{foreach item=block from=$xoops_rblocks}> <{include
file="imago06c/theme_blockright.html"}> <{/foreach}>




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
<{$xoops_contents}>
up to the following & it moved it on the page.



<{$xoops_contents}>

<{if $xoops_showcblock == 1}>

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 used https://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

553 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 553


more...

Donat-O-Meter

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

Latest GitHub Commits