The patch is for one-column full-screen display and
cache problem stated as:
https://sourceforge.net/tracker/index.php?func=detail&aid=1054221&group_id=41586&atid=430840
Only one file need modify:
xoops/header.php
...
switch ($block_arr[$i]->getVar('side')) {
case XOOPS_SIDEBLOCK_LEFT:
/
* Patch starts
/
if (!isset($show_lblock)) {
$xoopsTpl->assign('xoops_showlblock', 1);
$show_lblock = 1;
}
/
* Patch ends
/
$xoopsTpl->append('xoops_lblocks', array('title' =>
$block_arr[$i]->getVar('title'), 'content' => $bcontent));
break;
...
...
if (!isset($show_cblock)) {
$xoopsTpl->assign('xoops_showcblock', 0);
}
/
* Patch starts
/
if (!isset($show_lblock)) {
$xoopsTpl->assign('xoops_showlblock', 0);
}
if(isset($xoopsOption['xoops_pagetitle']))
$xoopsTpl->assign('xoops_pagetitle',
$xoopsOption['xoops_pagetitle']);
if(isset($xoopsOption['xoops_module_header']))
$xoopsTpl->assign('xoops_module_header',
$xoopsOption['xoops_module_header']);
if(isset($xoopsOption['xoops_showrblock']) &&
($xoopsOption['xoops_showrblock']==0))
$xoopsTpl->assign('xoops_showrblock', 0);
if(isset($xoopsOption['xoops_showlblock']) &&
($xoopsOption['xoops_showlblock']==0))
$xoopsTpl->assign('xoops_showlblock', 0);
/
* Patch ends
/
if (xoops_getenv('REQUEST_METHOD') != 'POST' &&
!empty($xoopsModule) &&
!empty($xoopsConfig['module_cache'][$xoopsModule->getVar('mid')]))
{
$xoopsTpl->xoops_setCaching(2);
...
Logged In: YES
user_id=841117
Fixed in CVS and waiting for review before merging to the trunk.