PEAK XOOPS - Re: KIHON2 as a sample theme can layout center parts in englishin japanese

Re: KIHON2 as a sample theme can layout center parts

  • As this forum is only for commentation, you cannot open a new topic
  • Guests cannot post into this forum
Target Downloads
Subject KIHON2 as a sample theme can layout center parts
Summary A sample theme based on matchan's theme "KIHON1".You can controll the order of center parts-CenterLeftBlocks-CenterCenterBlocks-CenterRightBlocks-ContentsBodyAll you have to do is setting their weights.See the GIF displayed below.This fe...
Previous post - Next post | Parent - Children.1 | Posted on 2005/8/30 19:37
skara  Private 1st Class   Posts: 12
Hi GiJoe,
is it possible to expalin me what to change ih header.php to make this theme work with 2.0.13?

Thanx in advance
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/9/1 14:32
GIJOE  Gunnery Sergeant   Posts: 4110
hi skara.

Quote:
is it possible to expalin me what to change ih header.php to make this theme work with 2.0.13?

The easiest way is transferring Onokazu's version.
download full archive of 2.0.11.1-JP and remove mainfile.php and install/.
Then overwrite them.

Just a joke, of course.


edit header.php line 141

        switch ($block_arr[$i]->getVar('side')) {
        case XOOPS_SIDEBLOCK_LEFT:
            if (!isset($show_lblock)) {
                $xoopsTpl->assign('xoops_showlblock', 1);
                $show_lblock = 1;
            }
            $xoopsTpl->append('xoops_lblocks', array('title' => $block_arr[$i]->getVar('title'), 'content' => $bcontent, 'weight' => $block_arr[$i]->getVar('weight')));
            break;
        case XOOPS_CENTERBLOCK_LEFT:
            if (!isset($show_cblock)) {
                $xoopsTpl->assign('xoops_showcblock', 1);
                $show_cblock = 1;
            }
            $xoopsTpl->append('xoops_clblocks', array('title' => $block_arr[$i]->getVar('title'), 'content' => $bcontent, 'weight' => $block_arr[$i]->getVar('weight')));
            break;
        case XOOPS_CENTERBLOCK_RIGHT:
            if (!isset($show_cblock)) {
                $xoopsTpl->assign('xoops_showcblock', 1);
                $show_cblock = 1;
            }
            $xoopsTpl->append('xoops_crblocks', array('title' => $block_arr[$i]->getVar('title'), 'content' => $bcontent, 'weight' => $block_arr[$i]->getVar('weight')));
            break;
        case XOOPS_CENTERBLOCK_CENTER:
            if (!isset($show_cblock)) {
                $xoopsTpl->assign('xoops_showcblock', 1);
                $show_cblock = 1;
            }
            $xoopsTpl->append('xoops_ccblocks', array('title' => $block_arr[$i]->getVar('title'), 'content' => $bcontent, 'weight' => $block_arr[$i]->getVar('weight')));
            break;
        case XOOPS_SIDEBLOCK_RIGHT:
            if (!isset($show_rblock)) {
                $xoopsTpl->assign('xoops_showrblock', 1);
                $show_rblock = 1;
            }
            $xoopsTpl->append('xoops_rblocks', array('title' => $block_arr[$i]->getVar('title'), 'content' => $bcontent, 'weight' => $block_arr[$i]->getVar('weight')));
            break;
        }

Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2005/9/2 7:21
skara  Private 1st Class   Posts: 12
Thank you very very much!
Your help is very valuable

Greetings from Greece
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!