覚書

忘れて大変なことになったから
覚書。。。


TOPのレイアウト変更のときとか
Smartyのテンプレート変数割り当てのときに設定する設定先のファイル

/html/eccube_super/data/class/SC_View.php

Line94あたりから・・・

       // テンプレート変数を割り当て
       $this->assign("TPL_DIR", TPL_DIR);
       // ヘッダとフッタを割り当て
       $header_tpl = USER_PATH . USER_PACKAGE_DIR . TEMPLATE_NAME . "/" . "header.tpl";
       $footer_tpl = USER_PATH . USER_PACKAGE_DIR . TEMPLATE_NAME . "/" . "footer.tpl";
       // @2009.05.21 追加
       $topimage_tpl = USER_PATH . USER_PACKAGE_DIR . TEMPLATE_NAME . "/" . "bloc/topimage.tpl";
       // ユーザー作成のテンプレートが無ければ, 指定テンプレートを割り当て
       if (!$this->_smarty->template_exists($header_tpl)) {
           $header_tpl = TEMPLATE_DIR . "header.tpl";
       }
       if (!$this->_smarty->template_exists($footer_tpl)) {
           $footer_tpl = TEMPLATE_DIR . "footer.tpl";
       }
       $this->assign("header_tpl", $header_tpl);
       $this->assign("footer_tpl", $footer_tpl);
       $this->assign("topimage_tpl", $topimage_tpl);
   }
最終更新:2009年05月27日 18:26
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。