Knowledge Base Navigation

Articles: 51 Categories: 8

KB Article: Hide Left Blocks in Forums

Article:Hide Left Blocks in Forums     Popular
Submitted By:Telli
Date Added:04-27-2004 4:29:49
Hits:7,446



No left blocks while viewing the Forums

Open themes/YOUR_THEME/theme.php find the following line:

blocks(left);


And replace it with this:

global $name;
    if($name!=Forums)
    {
    blocks(left);
    }


You can also add more modules like so:

global $name;
    if($name!=Forums AND $name!=Private_Messages)
    {
    blocks(left);
    }


You will need to make this change for all of your themes.

Current rating: 9.23 by 367 users
Please take one second and rate this article...

Not a Chance 12345678910 Absolutely

Please register or sign-in to post comments.


Jump to a selected article...