1
intosia
Hiding left block with CBB forum
  • 2005/9/4 11:10

  • intosia

  • Just popping in

  • Posts: 51

  • Since: 2005/7/23


Hi,

Im trying to hide the left blocks when to forum (cbb) is loaded.

How can i do this?
Asian Chicks for Life! ^^

2
Xend
Re: Hiding left block with CBB forum
  • 2005/9/19 19:26

  • Xend

  • Friend of XOOPS

  • Posts: 37

  • Since: 2001/12/13


First you nead to deactivate all sidebox for that module, that is done in "Blocks Administration" can be a hard work to do.

For the themes, well what themes do you use, do you now any html...?

you can hide alot with this code in theme file.

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

Here is an exemple in the theme "phpkaox"
you see here, if non Left sidebox is active, this code will hide the left block.

But i nead to see what themes you use, cant be done with all..

*************************************************


<{if $xoops_showlblock == 1}>


<{foreach item=block from=$xoops_lblocks}>







 <{$block.title}>
<{$block.content}>

<{/foreach}>


<{/if}>
"Learn from the mistakes of others; you can't live long enough to make them all yourself."

3
intosia
Re: Hiding left block with CBB forum
  • 2005/10/2 13:45

  • intosia

  • Just popping in

  • Posts: 51

  • Since: 2005/7/23


Alright thanks man! I already got it with the blocks ;)
Asian Chicks for Life! ^^

4
davidthomas1
Re: Hiding left block with CBB forum

Thanks!

Those two lines of code just solved a perplexing problem.

I changed the left block settings to not show on the forum page but I still got a long empty table cell in the left-hand side.

However, after applying your them hack / improvement the forum is now displayed full page without any side blocks.

Thanks very much.

D
みんなちがってみんないい。

XOOPS 2.0.13.2

Login

Who's Online

483 user(s) are online (355 user(s) are browsing Support Forums)


Members: 0


Guests: 483


more...

Donat-O-Meter

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

Latest GitHub Commits