Text Formatted Code
$display = COM_createHTMLDocument($display, array('pagetitle' => $pagetitle));
Text Formatted Code
$display = COM_createHTMLDocument($display, array('what' => 'none', 'rightblock' => -1, 'pagetitle' => $pagetitle));
'what' => 'none' turns off the leftblocks and 'rightblock' => -1 turns off rightblocks
Text Formatted Code
$_CONF['show_right_blocks'] = false;