質問 > フロント機能 > 売上ランキングでdtb_blocにパスを追加方法 |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
y_shiki |
投稿日時: 2010/3/12 10:30
対応状況: −−−
|
半人前 登録日: 2010/3/2 居住地: 山形 投稿: 25 |
Re: 売上ランキングでdtb_blocにパスを追加方法 phpPgAdmin は知らないので、シェルから psqlコマンドでの方法です。
psqlについては http://www.postgresql.jp/document/8.1/html/app-psql.html ◆ec-cube用データベースへアクセス # psql -U ユーザー名 データベース名 (設定によりますが、パスワード聞かれます) ◆ランキングの bloc_idを探す select * from dtb_bloc where bloc_name='ランキング'; ↓のような結果が来ると思います。bloc_id は9です。 bloc_id | bloc_name | tpl_path | filename | create_date | update_date | php_path | del_flg ---------+------------+------------------+----------+----------------------------+----------------------------+-----------------------------+--------- 9 | ランキング | bloc/ranking.tpl | ranking | 2010-03-01 15:54:59.180251 | 2010-03-02 19:56:53.823374 | | 0 (1 row) ◆ frontparts/bloc/ranking.php をセットする update dtb_bloc set php_path='frontparts/bloc/ranking.php' where bloc_name='ランキング'; ◆セットされたか確認する select * from dtb_bloc where bloc_name='ランキング'; ↓のように変わります。 bloc_id | bloc_name | tpl_path | filename | create_date | update_date | php_path | del_flg ---------+------------+------------------+----------+----------------------------+----------------------------+-----------------------------+--------- 9 | ランキング | bloc/ranking.tpl | ranking | 2010-03-01 15:54:59.180251 | 2010-03-02 19:56:53.823374 | frontparts/bloc/ranking.php | 0 (1 row) ◆psql 終了 \q |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
売上ランキングでdtb_blocにパスを追加方法 | sakurai07 | 2010/3/10 11:47 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | DELIGHT | 2010/3/10 13:46 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | sakurai07 | 2010/3/10 14:18 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | DELIGHT | 2010/3/10 14:29 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | sakurai07 | 2010/3/11 21:26 |
» Re: 売上ランキングでdtb_blocにパスを追加方法 | y_shiki | 2010/3/12 10:30 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | sakurai07 | 2010/3/12 21:01 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | y_shiki | 2010/3/13 16:26 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | sakurai07 | 2010/3/13 17:06 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | y_shiki | 2010/3/13 17:48 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | sakurai07 | 2010/3/13 19:08 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | y_shiki | 2010/3/13 19:29 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | sakurai07 | 2010/3/13 20:29 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | y_shiki | 2010/3/13 22:37 |
Re: 売上ランキングでdtb_blocにパスを追加方法 | sakurai07 | 2010/3/13 23:54 |