1
saidan
how to hide the menus
  • 2007/11/3 3:50

  • saidan

  • Just popping in

  • Posts: 25

  • Since: 2007/5/30


hello alll

how can i hide the menus which is on the left and right in some modules, means they can appear in the home page but not int the intire module which i choose?

>>:)

2
bleu_
Re: how to hide the menus
  • 2007/11/3 7:36

  • bleu_

  • Just popping in

  • Posts: 32

  • Since: 2006/8/1 2


By entering the administration system you can use a combination of setting up functions for Blocks and for Groups. The Operations Guide could help you some.

3
saidan
Re: how to hide the menus
  • 2007/11/12 9:20

  • saidan

  • Just popping in

  • Posts: 25

  • Since: 2007/5/30


i means, to hide the whole colum on the right or left side or both together...

it is not provided in administration system, i can hide the blocks but not the colum...

:)

4
rlankford
Re: how to hide the menus
  • 2007/11/12 13:46

  • rlankford

  • Not too shy to talk

  • Posts: 158

  • Since: 2004/8/27


Well, if you hide all the blocks, the column goes away too.

But that probably isn't what you mean.

5
nmshah
Re: how to hide the menus
  • 2007/11/12 14:15

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


Go to Admin->system->blocks
then for all blocks, click "center" in the side column and in visible column click "no".

6
aph3x
Re: how to hide the menus
  • 2007/11/12 14:17

  • aph3x

  • Theme Designer

  • Posts: 834

  • Since: 2004/12/26


@saidan a link or a screenshot would have been nice, however...

To make columns not visible if no blocks present in default theme:

modify from:

<td id="leftcolumn">
        <!-- 
Start left blocks loop -->
        <{foreach 
item=block from=$xoops_lblocks}>
          <{include 
file="default/theme_blockleft.html"}>
        <{/foreach}>
        <!-- 
End left blocks loop -->
      </
td>


to:

<{if $xoops_showlblock == 1}>
      <
td id="leftcolumn">
        <!-- 
Start left blocks loop -->
        <{foreach 
item=block from=$xoops_lblocks}>
          <{include 
file="default/theme_blockleft.html"}>
        <{/foreach}>
        <!-- 
End left blocks loop -->
      </
td>
      <{/if}>


Same for the right column tho in default theme the "if" smarty are there

The above will make the entire column not visible if there aren't any blocks to show
Everything I'm not made me everything I am
The Themes

Login

Who's Online

140 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

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

Latest GitHub Commits