バージョン選択

フォーラム

メニュー

オンライン状況

41 人のユーザが現在オンラインです。 (25 人のユーザが フォーラム を参照しています。)
登録ユーザ: 1
ゲスト: 40
dafabeth もっと...

サイト内検索

質問 > フロント機能 > 売上ランキングで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

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は97,904名です
総投稿数は111,976件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2325
5
umebius
2085
6
h_tanaka
1901
7
yuh
1897
8
mcontact
1579
9
red
1575
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
805
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
balisys
502


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.