覚書

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


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);
   }


|新しいページ|検索|ページ一覧|RSS|@ウィキご利用ガイド | 管理者にお問合せ
|ログイン|

メニュー





サイト内検索



更新履歴


リンク



EC-CUBE開発参考サイト



Apache系参考サイト



画面レイアウト系参考サイト



その他



@wikiリンク



他のサービス