I'm working on writing my first module, and I pretty much have everything working properly now. I would like a particular function in my module to display in a full screen, without the postnuke header and blocks. Does anyone know how to do this? The PNphpBB2 forum module has this feature, but I've looked over the source and only found this little bit of code in index.php that might be helpful:
Code
// Begin PNphpBB2 Module - Minimize/Maximize Mod
if ( isset($HTTP_GET_VARS['minmax']) || isset($HTTP_POST_VARS['minmax']) && $board_config['pnphpbb2_allow_full_page'] == 1)
{
$fullpage = ( isset($HTTP_POST_VARS['minmax']) ) ? $HTTP_POST_VARS['minmax'] : $HTTP_GET_VARS['minmax'];
pnSessionSetVar('fullpage', $fullpage);
}
// End PNphpBB2 Module - Minimize/Maximize Mod
if ( isset($HTTP_GET_VARS['minmax']) || isset($HTTP_POST_VARS['minmax']) && $board_config['pnphpbb2_allow_full_page'] == 1)
{
$fullpage = ( isset($HTTP_POST_VARS['minmax']) ) ? $HTTP_POST_VARS['minmax'] : $HTTP_GET_VARS['minmax'];
pnSessionSetVar('fullpage', $fullpage);
}
// End PNphpBB2 Module - Minimize/Maximize Mod
I thought that this might be a function of postnuke, activated by the 'fullpage' variable, so I tried setting that to '1' and various other values with no luck. Anyone know how to do this or have any ideas?
Thanks,
Nov
