How to hide the right blocks

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.

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.


Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO

 

Site Info v2.2.2

Last SeenLast Seen
Server TrafficServer Traffic
  • Total: 337,475,852
  • Today: 12,392
Server InfoServer Info
  • Sep 26, 2017
  • 03:54 am PDT
 
 

Daily Inspiration