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 OCEAN-NETで配付されているkihon1をベースとしたサンプルテーマです。このテーマの最大の意味合いは、テーマ中央部分の順番を、並び順だけで完全にコントロール出来る点です。コントロールの意味については、下のGIFをご覧ください。なお、このロジックは、各ブロックにwe...
Previous post - Next post | Parent - Children.1 | Posted on 2005/8/30 19:37
skara  一等兵   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  先任軍曹   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  一等兵   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!