1
animas
Help! Hiding Left Blocks
  • 2005/3/15 17:20

  • animas

  • Quite a regular

  • Posts: 206

  • Since: 2005/1/30


When I selected Main Menu blocks not to be shown in NEWBB, the space for left block is still occupied by blank where it should not take any space, means NEWBB should fill up those spaces.

How to remove the blank space to make more room for NEWBB?

2
phppp
Re: Help! Hiding Left Blocks
  • 2005/3/15 17:31

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25



3
brian100
Re: Help! Hiding Left Blocks
  • 2005/3/15 17:39

  • brian100

  • Just popping in

  • Posts: 44

  • Since: 2004/7/7 2


If you check out your theme you'll probably notice that over most columns (like rightcolumn for instance) you'll find a statement like this:
<{if $xoops_showrblock == 1}>

Generally, though, there is no such statement for the left column. For some reason it's assumed. I'm not sure if inserting <{if $xoops_showlblock == 1}> would do the trick--but might be worth a try. You'll have to close the if statement with
<{/if}>

I've customized a theme in the past by moving the left column to just left of the right columns (both the left and right columns show up to the right of the center columns). It's a great way to get an "unxoops" look. This is one way to solve your problem--but might not be desirable in your case.

4
phppp
Re: Help! Hiding Left Blocks
  • 2005/3/15 17:56

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


As I said, it is a "solution", which means it could not been done by the only "<{if $xoops_showlblock == 1}>" trick but with extra treatment, which provided in the package.

5
brian100
Re: Help! Hiding Left Blocks
  • 2005/3/15 17:57

  • brian100

  • Just popping in

  • Posts: 44

  • Since: 2004/7/7 2


I was right about where the problem was--but my experimental solution (adding an if statement to the left column) seems to produce unpredictable results--I'd suggest not trying it on a live site.

You could also use the module that lets you dictate which theme is used for each module--and eliminate the left column from the theme that you use for the forums module.

6
phppp
Re: Help! Hiding Left Blocks
  • 2005/3/15 18:00

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


The solution I provided let you use one single theme for all modules with the capability to display one, two or three coloumns according to your preferences.

The example is in the package/newbb

7
brian100
Re: Help! Hiding Left Blocks
  • 2005/3/15 18:36

  • brian100

  • Just popping in

  • Posts: 44

  • Since: 2004/7/7 2


phppp--I've no doubt your solution is a great one. Any unorthodox approach (like eliminating the left block) helps users creates sites that aren't as "xoops" looking. Good work.

There's more about this in This thread.

I just tested DonXoop's solution (from the above thread). It also works.

Brian

Login

Who's Online

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


Members: 0


Guests: 175


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