It is possible to collapse or remove columns in individual module pages. Here is an example of how to remove columns in the Blog module. This principle can be used in any module.
Collapse Columns
To collapse columns in the MKPortal Blog module look in /mkportal/modules/blog/index.php and edit all of the calls to the "printpage" function that you see. For example...
FIND:
$mklib->printpage_blog("1", "1", "{$mklib->lang['b_pagetitle']}", $output, "");
REPLACE WITH:FIND:
$mklib->printpage_blog("1", "0", "{$mklib->lang['b_pagetitle']}", $output, "");
Changing the second "1" to "0" will collapse the right column.Remove Columns
If you want to remove the right column completely you could add "$mklib->loadcolumnright = 0;" to each module function in which you don't want the column.
For example
FIND:
function main_page() {
global $mkportals, $DB, $mklib, $Skin, $mklib_board;
ADD BELOW: function main_page() {
global $mkportals, $DB, $mklib, $Skin, $mklib_board;
// Unload columns
$mklib->loadcolumnleft = 1;
$mklib->loadcolumnright = 0;
If you only want to remove the right column you really don't need to add "$mklib->loadcolumnleft = 1;" but I used it here to show that you can also remove the left column this way.













