Karakas Online

18.1.1. How to hide the right blocks

If your module needs more space than is available in the central column of the PHP-Nuke layout, you may want to hide the right column of blocks. This is accomplished very easily from within the code of any module: find the line

$index = 1;

and change it to:

$index = 0;   // 0 : do not show right blocks - 1:show right blocks

Of course, if the line is not there, then $index is already 0, so your module already hides the right blocks.wink

Tip How to hide the left blocks
 

If you want to hide the left blocks, you have to modify the theme header. See Section 14.3.9.

Last updated Sun Aug 7 21:14:12 CEST 2005 Permalink: http://www.karakas-online.de/EN-Book/hide-right-blocks.html All contents © 2004 Chris Karakas, Claudio Erba